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
2011-03-14 13:31:56 -05:00
parent e5b30a89b9
commit ba5e0c4307

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'],