mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add managed read permission to idrange
Part of the work for: https://fedorahosted.org/freeipa/ticket/3566 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
5c8548a4ad
commit
bb4e47d9ea
@ -161,10 +161,23 @@ class idrange(LDAPObject):
|
||||
object_name = ('range')
|
||||
object_name_plural = ('ranges')
|
||||
object_class = ['ipaIDrange']
|
||||
permission_filter_objectclasses = ['ipaidrange']
|
||||
possible_objectclasses = ['ipadomainidrange', 'ipatrustedaddomainrange']
|
||||
default_attributes = ['cn', 'ipabaseid', 'ipaidrangesize', 'ipabaserid',
|
||||
'ipasecondarybaserid', 'ipanttrusteddomainsid',
|
||||
'iparangetype']
|
||||
managed_permissions = {
|
||||
'System: Read ID Ranges': {
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'all',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'cn', 'objectclass',
|
||||
'ipabaseid', 'ipaidrangesize', 'iparangetype',
|
||||
'ipabaserid', 'ipasecondarybaserid', 'ipanttrusteddomainsid',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
label = _('ID Ranges')
|
||||
label_singular = _('ID Range')
|
||||
|
Loading…
Reference in New Issue
Block a user