summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/user.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/user.py
parente951f1841674fc57a867b9a36eea9d82ca31ad38 (diff)
downloadfreeipa-78b657b02d2918fb26e0969e096f7eb15dbf830c.tar.gz
freeipa-78b657b02d2918fb26e0969e096f7eb15dbf830c.tar.xz
freeipa-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/user.py')
-rw-r--r--ipalib/plugins/user.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 539dd896a..edda273b2 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -209,6 +209,7 @@ class user(LDAPObject):
'ipatokenradiusproxyuser'
]
disallow_object_classes = ['krbticketpolicyaux']
+ permission_filter_objectclasses = ['posixaccount']
search_attributes_config = 'ipausersearchfields'
default_attributes = [
'uid', 'givenname', 'sn', 'homedirectory', 'loginshell',