From b730eb356f4ccb569a060b39f9d529f2fa753588 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 6 Jan 2011 17:14:13 -0500 Subject: facet nesting correctly nest the facet groups change 'parent' to 'member of' for facet group --- ipalib/plugins/baseldap.py | 2 +- ipalib/plugins/host.py | 2 +- ipalib/plugins/netgroup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ipalib/plugins') diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 688f35bad..ecc3fd0b9 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -250,7 +250,7 @@ class LDAPObject(Object): relationships = { # attribute: (label, inclusive param prefix, exclusive param prefix) 'member': ('Member', '', 'no_'), - 'memberof': ('Parent', 'in_', 'not_in_'), + 'memberof': ('Member Of', 'in_', 'not_in_'), 'memberindirect': ( 'Indirect Member', None, 'no_indirect_' ), diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py index 3b0b8eef4..9cc997863 100644 --- a/ipalib/plugins/host.py +++ b/ipalib/plugins/host.py @@ -171,7 +171,7 @@ class host(LDAPObject): } bindable = True relationships = { - 'memberof': ('Parent', 'in_', 'not_in_'), + 'memberof': ('Member Of', 'in_', 'not_in_'), 'enrolledby': ('Enrolled by', 'enroll_by_', 'not_enroll_by_'), 'managedby': ('Managed by', 'man_by_', 'not_man_by_'), } diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index ce9a51b6c..e8c59a570 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -87,7 +87,7 @@ class netgroup(LDAPObject): } relationships = { 'member': ('Member', '', 'no_'), - 'memberof': ('Parent', 'in_', 'not_in_'), + 'memberof': ('Member Of', 'in_', 'not_in_'), 'memberindirect': ( 'Indirect Member', None, 'no_indirect_' ), -- cgit