summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.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/host.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/host.py')
-rw-r--r--ipalib/plugins/host.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 03976492..1e339acf 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -222,6 +222,7 @@ class host(LDAPObject):
object_name = _('host')
object_name_plural = _('hosts')
object_class = ['ipaobject', 'nshost', 'ipahost', 'pkiuser', 'ipaservice']
+ permission_filter_objectclasses = ['ipahost']
# object_class_config = 'ipahostobjectclasses'
search_attributes = [
'fqdn', 'description', 'l', 'nshostlocation', 'krbprincipalname',