mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Support idviews in compat tree
Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
committed by
Tomas Babej
parent
1cc11ebf53
commit
bd98ab0356
@@ -212,6 +212,16 @@ class group(LDAPObject):
|
||||
'objectclass', 'cn', 'memberuid', 'gidnumber',
|
||||
},
|
||||
},
|
||||
'System: Read Group Views Compat Tree': {
|
||||
'non_object': True,
|
||||
'ipapermbindruletype': 'anonymous',
|
||||
'ipapermlocation': api.env.basedn,
|
||||
'ipapermtarget': DN('cn=groups', 'cn=*', 'cn=views', 'cn=compat', api.env.basedn),
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'objectclass', 'cn', 'memberuid', 'gidnumber',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
label = _('User Groups')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user