diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2014-09-19 16:20:42 +0300 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2014-09-24 15:20:43 +0300 |
commit | 1756629835efb677244cb4e77760a1784485a069 (patch) | |
tree | 6cc88ff037fc32eeb5195c8607c860785499ff03 /ipalib/plugins/user.py | |
parent | c78fee3b1623666a7dd2b091d4f71906efec3c8d (diff) | |
download | freeipa-views.tar.gz freeipa-views.tar.xz freeipa-views.zip |
WIP: support idviews in compat treeviews
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r-- | ipalib/plugins/user.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index f95b4fd4a..e20628924 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -435,6 +435,17 @@ class user(LDAPObject): 'homedirectory', 'loginshell', }, }, + 'System: Read User Views Compat Tree': { + 'non_object': True, + 'ipapermbindruletype': 'anonymous', + 'ipapermlocation': api.env.basedn, + 'ipapermtarget': DN('cn=users', 'cn=*', 'cn=views', 'cn=compat', api.env.basedn), + 'ipapermright': {'read', 'search', 'compare'}, + 'ipapermdefaultattr': { + 'objectclass', 'uid', 'cn', 'gecos', 'gidnumber', 'uidnumber', + 'homedirectory', 'loginshell', + }, + }, } label = _('Users') |