summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/group.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-08-02 18:10:01 -0400
committerRob Crittenden <rcritten@redhat.com>2010-08-06 15:34:09 -0400
commit8ad88b411921ba90bdd149eb278639e1cbbe1a1a (patch)
tree1c5c56a0f1a0a490a3499201a5427250697528b6 /ipalib/plugins/group.py
parentd0740fb08b7b9d910a38c56a812aaad2c2df7f50 (diff)
downloadfreeipa-8ad88b411921ba90bdd149eb278639e1cbbe1a1a.tar.gz
freeipa-8ad88b411921ba90bdd149eb278639e1cbbe1a1a.tar.xz
freeipa-8ad88b411921ba90bdd149eb278639e1cbbe1a1a.zip
Properly show the members when an add/remove operation fails.
The remove member function in baseldap was not returning failures at all. The add member function was only showing them in the group object. Most of the magic is handled in baseldap. Each plugin just needs to define object_name and object_name_plural. object_name must be all lower-case because fake-attributes are created so membership can be broken out per-object type. I left the plural name lower case as well. ticket 85
Diffstat (limited to 'ipalib/plugins/group.py')
-rw-r--r--ipalib/plugins/group.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index 4fd630d42..f0e9f7724 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -115,18 +115,6 @@ class group(LDAPObject):
label=_('Member users'),
flags=['no_create', 'no_update', 'no_search'],
),
- Str('member?',
- label=_('Failed members'),
- flags=['no_create', 'no_update', 'no_search'],
- ),
- Str('user?',
- label=_('Users'),
- flags=['no_create', 'no_update', 'no_search'],
- ),
- Str('group?',
- label=_('Groups'),
- flags=['no_create', 'no_update', 'no_search'],
- ),
)
api.register(group)