diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-04-10 14:40:44 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-04-09 22:12:39 -0400 |
commit | e9b79cc1e111bbdc91675f8a2f48a92baa4266c9 (patch) | |
tree | 17a227f938e64847abe5181a6fbbc44572c237a5 | |
parent | 1431c80b3c2a256bb6c10cf042f7671004695a9f (diff) | |
download | freeipa-e9b79cc1e111bbdc91675f8a2f48a92baa4266c9.tar.gz freeipa-e9b79cc1e111bbdc91675f8a2f48a92baa4266c9.tar.xz freeipa-e9b79cc1e111bbdc91675f8a2f48a92baa4266c9.zip |
Removal of memberofindirect_permissons from privileges
Problem:
In the Privilege page, can list Permissions. This "Shows Results" for "Direct
Membership". But there is an option to list this for "Indirect Membership"
also.
There isn't a way to nest permissions, so this option is not needed.
Solution:
This patch removes the memberofindirect_persmission definition from server plugin. It fixes the problem in Web UI.
https://fedorahosted.org/freeipa/ticket/2611
-rw-r--r-- | ipalib/plugins/privilege.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ipalib/plugins/privilege.py b/ipalib/plugins/privilege.py index 53e1de223..ba2428736 100644 --- a/ipalib/plugins/privilege.py +++ b/ipalib/plugins/privilege.py @@ -49,13 +49,10 @@ class privilege(LDAPObject): object_name = _('privilege') object_name_plural = _('privileges') object_class = ['nestedgroup', 'groupofnames'] - default_attributes = ['cn', 'description', 'member', 'memberof', - 'memberindirect', 'memberofindirect', - ] + default_attributes = ['cn', 'description', 'member', 'memberof'] attribute_members = { 'member': ['role'], 'memberof': ['permission'], - 'memberofindirect': ['permission'], } reverse_members = { 'member': ['permission'], |