summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/group.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-12-20 23:28:33 -0500
committerRob Crittenden <rcritten@redhat.com>2010-12-21 13:00:15 -0500
commit4d6cd892581d6ce402feb3351c6cb41b932a54f5 (patch)
treeb9e66e40160902c1cd7e6efb28d6e6b6e2561300 /ipalib/plugins/group.py
parent1a7f5e0cc4e66db243ce29f09d77479fc981099e (diff)
downloadfreeipa-4d6cd892581d6ce402feb3351c6cb41b932a54f5.tar.gz
freeipa-4d6cd892581d6ce402feb3351c6cb41b932a54f5.tar.xz
freeipa-4d6cd892581d6ce402feb3351c6cb41b932a54f5.zip
In meta data make ACI attributes lower-case, sorted. Add possible attributes.
The metadata contains a list of possible attributes that an ACI for that object might need. Add a new variable to hold possible objectclasses for optional elements (like posixGroup for groups). To make the list easier to handle sort it and make it all lower-case. Fix a couple of missed camel-case attributes in the default ACI list. ticket 641
Diffstat (limited to 'ipalib/plugins/group.py')
-rw-r--r--ipalib/plugins/group.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index 4ba9b6185..9fd24008c 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -81,6 +81,7 @@ class group(LDAPObject):
object_name_plural = 'groups'
object_class = ['ipausergroup']
object_class_config = 'ipagroupobjectclasses'
+ possible_objectclasses = ['posixGroup', 'mepManagedEntry']
search_attributes_config = 'ipagroupsearchfields'
default_attributes = [
'cn', 'description', 'gidnumber', 'member', 'memberof',