Revision 1744c478
Added by Marc Dequènes over 15 years ago
- ID 1744c4788df2f00a4ae490d0cba9feaade7bc806
lib/ldap_shadows/object.rb | ||
---|---|---|
options[:expert] ||= false;
|
||
options[:skip_binary] ||= false;
|
||
|
||
ignored_attrs = self.class.presentation[:hidden_attributes] || []
|
||
ignored_attrs = self.mapper.get_global_config[:hidden_attributes] || []
|
||
ignored_attrs += self.class.presentation[:hidden_attributes] || []
|
||
ignored_attrs += (self.class.presentation[:expert_attributes] || []) unless options[:expert]
|
||
attr_list = self.attributes.keys - ignored_attrs
|
||
|
Also available in: Unified diff
[evol] added private config load in home, and global hidden attributes (until something really proper is done for config)