diff options
Diffstat (limited to 'ipalib/plugins/taskgroup.py')
-rw-r--r-- | ipalib/plugins/taskgroup.py | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/ipalib/plugins/taskgroup.py b/ipalib/plugins/taskgroup.py index a39f5c00..afdbf656 100644 --- a/ipalib/plugins/taskgroup.py +++ b/ipalib/plugins/taskgroup.py @@ -37,9 +37,9 @@ class taskgroup(LDAPObject): default_attributes = ['cn', 'description', 'member', 'memberof'] attribute_names = { 'cn': 'name', - 'member user': 'member users', - 'member group': 'member groups', - 'member rolegroup': 'member rolegroups', + 'member_user': 'member users', + 'member_group': 'member groups', + 'member_rolegroup': 'member rolegroups', # FIXME: 'memberof ???': 'member of ???' } attribute_members = { @@ -62,6 +62,18 @@ class taskgroup(LDAPObject): label='Description', doc='taskgroup description', ), + Str('member_group?', + label='Member Groups', + flags=['no_create', 'no_update', 'no_search'], + ), + Str('member_user?', + label='Member Users', + flags=['no_create', 'no_update', 'no_search'], + ), + Str('member_rolegroup?', + label='Member Role Groups', + flags=['no_create', 'no_update', 'no_search'], + ), ) api.register(taskgroup) |