mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Make 'permission' the default bind type for managed permissions
This reduces typing (or copy/pasting), and draws a bit of attention to any non-default privileges (currently 'any' or 'anonymous'). Leaving the bindtype out by mistake isn't dangerous: by default a permission is not granted to anyone, since it is not included in any priviliges. Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
@@ -199,7 +199,6 @@ class automember(LDAPObject):
|
||||
'ipapermlocation': DN(container_dn, api.env.basedn),
|
||||
'ipapermtargetfilter': {'(objectclass=automemberdefinition)'},
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'permission',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'objectclass', 'cn', 'automemberscope', 'automemberfilter',
|
||||
@@ -211,7 +210,6 @@ class automember(LDAPObject):
|
||||
},
|
||||
'System: Read Automember Rules': {
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'permission',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'cn', 'objectclass', 'automembertargetgroup', 'description',
|
||||
@@ -225,7 +223,6 @@ class automember(LDAPObject):
|
||||
'ipapermlocation': DN('cn=tasks', 'cn=config'),
|
||||
'ipapermtarget': DN('cn=*', REBUILD_TASK_CONTAINER),
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'permission',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {'*'},
|
||||
'default_privileges': {'Automember Task Administrator'},
|
||||
|
||||
Reference in New Issue
Block a user