mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add managed read permissions to trust
A single permission is added to cover trust, trustconfig, and trustdomain. Part of the work for: https://fedorahosted.org/freeipa/ticket/3566 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
e31688909c
commit
7eb12f1fb5
@ -311,6 +311,21 @@ class trust(LDAPObject):
|
||||
'ipanttrustposixoffset', 'ipantsupportedencryptiontypes' ]
|
||||
search_display_attributes = ['cn', 'ipantflatname',
|
||||
'ipanttrusteddomainsid', 'ipanttrusttype']
|
||||
managed_permissions = {
|
||||
'System: Read Trust Information': {
|
||||
# Allow reading of attributes needed for SSSD subdomains support
|
||||
'non_object': True,
|
||||
'ipapermlocation': DN(container_dn, api.env.basedn),
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'all',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'cn', 'objectclass',
|
||||
'ipantflatname', 'ipantsecurityidentifier',
|
||||
'ipanttrusteddomainsid',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
label = _('Trusts')
|
||||
label_singular = _('Trust')
|
||||
|
Loading…
Reference in New Issue
Block a user