Revision b52f0f7d
Added by Marc Dequènes over 15 years ago
- ID b52f0f7dd2e38270b9d123a28907deeba34dd249
lib/ldap_shadows/display_utils.rb | ||
---|---|---|
def self.display_fields(attr_data, options = {})
|
||
attr_data.each_pair do |key, val|
|
||
next if val[:expert] and not options[:expert]
|
||
next if val[:admin] and not options[:admin]
|
||
|
||
field_name = Translator.translate_field_name(key)
|
||
|
Also available in: Unified diff
[evol] move all activeldap workarounds away, and properly manage operational attributes (using schema instead of a hardcoded list)