[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Freeipa-devel] [PATCH] 190 Removed invalid associations.



The following invalid associations have been removed:
 - group's memberindirect netgroup and role
 - hostgroup's memberofindirect host

Ticket #1366
Ticket #1367

--
Endi S. Dewata
From 188a71c189882b896dc072e6e86a141d99839a5e Mon Sep 17 00:00:00 2001
From: Endi S. Dewata <edewata redhat com>
Date: Fri, 24 Jun 2011 14:18:35 -0500
Subject: [PATCH] Removed invalid associations.

The following invalid associations have been removed:
 - group's memberindirect netgroup and role
 - hostgroup's memberofindirect host

Ticket #1366
Ticket #1367
---
 ipalib/plugins/group.py     |    2 +-
 ipalib/plugins/hostgroup.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index 163a6f5dab4d3f3312d7bfdf5c5fa84896416f2c..cba5155222a740b44ad819a40587f0b3d2b2307a 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -91,7 +91,7 @@ class group(LDAPObject):
     attribute_members = {
         'member': ['user', 'group'],
         'memberof': ['group', 'netgroup', 'role', 'hbacrule', 'sudorule'],
-        'memberindirect': ['user', 'group', 'netgroup', 'role'],
+        'memberindirect': ['user', 'group'],
         'memberofindirect': ['group', 'netgroup', 'role', 'hbacrule',
         'sudorule'],
     }
diff --git a/ipalib/plugins/hostgroup.py b/ipalib/plugins/hostgroup.py
index 4ffc2217e943359bb9559f8fb04aa07da0968b82..9c505d26d5de99f181797919432de22a6ccfaff7 100644
--- a/ipalib/plugins/hostgroup.py
+++ b/ipalib/plugins/hostgroup.py
@@ -67,7 +67,7 @@ class hostgroup(LDAPObject):
         'member': ['host', 'hostgroup'],
         'memberof': ['hostgroup', 'hbacrule', 'sudorule'],
         'memberindirect': ['host', 'hostgroup'],
-        'memberofindirect': ['host', 'hostgroup', 'hbacrule', 'sudorule'],
+        'memberofindirect': ['hostgroup', 'hbacrule', 'sudorule'],
     }
 
     label = _('Host Groups')
-- 
1.7.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]