summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/role.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-14 13:31:56 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-03-18 16:52:10 -0400
commitba5e0c43070c1ec77e45a032cd3dabbe0f7a76fc (patch)
tree7d3a7e7b72e9d4e586da17fbb9a4b5738f7d30be /ipalib/plugins/role.py
parente5b30a89b91529fdda0b48ba9aa7b4e55432e6ac (diff)
downloadfreeipa-ba5e0c43070c1ec77e45a032cd3dabbe0f7a76fc.tar.gz
freeipa-ba5e0c43070c1ec77e45a032cd3dabbe0f7a76fc.tar.xz
freeipa-ba5e0c43070c1ec77e45a032cd3dabbe0f7a76fc.zip
Removed nested role from UI.
Nested role is not supported in 2.0.x, so the association facet for it should be removed from the UI. The attribute_members in role.py needs to be fixed because it is used to generate the association facet automatically. Ticket 1092.
Diffstat (limited to 'ipalib/plugins/role.py')
-rw-r--r--ipalib/plugins/role.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipalib/plugins/role.py b/ipalib/plugins/role.py
index 8b084c83d..5e41bf497 100644
--- a/ipalib/plugins/role.py
+++ b/ipalib/plugins/role.py
@@ -71,8 +71,7 @@ class role(LDAPObject):
]
attribute_members = {
'member': ['user', 'group', 'host', 'hostgroup'],
- 'memberof': ['privilege', 'role'],
- 'memberofindirect': ['role'],
+ 'memberof': ['privilege'],
}
reverse_members = {
'member': ['privilege'],