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.
This commit is contained in:
Endi S. Dewata committed 2011-03-18 16:52:10 -04:00
1 parent e5b30a89b9
commit ba5e0c4307
1 file changed
+1 -2
+1 -2
View File
@@ -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'],