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. -- Endi S. Dewata
From 3de959470c2dd541f55210810f30f2406ed4d67e Mon Sep 17 00:00:00 2001 From: Endi S. Dewata <edew...@redhat.com> Date: Mon, 14 Mar 2011 13:31:56 -0500 Subject: [PATCH] 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. --- ipalib/plugins/role.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ipalib/plugins/role.py b/ipalib/plugins/role.py index 8b084c83dd0f8a4866af59bec88c11cdf3418274..5e41bf4977ee9210282de6a68cd1f41869a8c4e0 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'], -- 1.6.6.1
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel