summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/netgroup.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-01-09 14:43:37 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-02-20 13:11:41 +0100
commit78b657b02d2918fb26e0969e096f7eb15dbf830c (patch)
tree771f52be92145a40eec3e951df214d4909208604 /ipalib/plugins/netgroup.py
parente951f1841674fc57a867b9a36eea9d82ca31ad38 (diff)
downloadfreeipa.git-78b657b02d2918fb26e0969e096f7eb15dbf830c.tar.gz
freeipa.git-78b657b02d2918fb26e0969e096f7eb15dbf830c.tar.xz
freeipa.git-78b657b02d2918fb26e0969e096f7eb15dbf830c.zip
Add permission_filter_objectclasses for explicit type filters
Part of the work for: https://fedorahosted.org/freeipa/ticket/4074 Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipalib/plugins/netgroup.py')
-rw-r--r--ipalib/plugins/netgroup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index e454b9aa..fe27e6cb 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -81,6 +81,7 @@ class netgroup(LDAPObject):
object_name = _('netgroup')
object_name_plural = _('netgroups')
object_class = ['ipaobject', 'ipaassociation', 'ipanisnetgroup']
+ permission_filter_objectclasses = ['ipanisnetgroup']
default_attributes = [
'cn', 'description', 'memberof', 'externalhost', 'nisdomainname',
'memberuser', 'memberhost', 'member', 'memberindirect',