mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add managed read permissions to host
Part of the work for: https://fedorahosted.org/freeipa/ticket/3566 Reviewed-By: Martin Kosek <mkosek@redhat.com>
This commit is contained in:
parent
db85ea32c1
commit
c08f8d2f1e
@ -252,6 +252,32 @@ class host(LDAPObject):
|
||||
}
|
||||
password_attributes = [('userpassword', 'has_password'),
|
||||
('krbprincipalkey', 'has_keytab')]
|
||||
managed_permissions = {
|
||||
'System: Read Hosts': {
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'all',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'cn', 'description', 'fqdn', 'ipaclientversion',
|
||||
'ipakrbauthzdata', 'ipasshpubkey', 'ipauniqueid',
|
||||
'krbprincipalname', 'l', 'macaddress', 'nshardwareplatform',
|
||||
'nshostlocation', 'nsosversion', 'objectclass',
|
||||
'serverhostname', 'usercertificate', 'userclass',
|
||||
'enrolledby', 'managedby',
|
||||
'krbprincipalname', 'krbcanonicalname', 'krbprincipalaliases',
|
||||
'krbprincipalexpiration', 'krbpasswordexpiration',
|
||||
'krblastpwdchange',
|
||||
},
|
||||
},
|
||||
'System: Read Host Membership': {
|
||||
'replaces_global_anonymous_aci': True,
|
||||
'ipapermbindruletype': 'all',
|
||||
'ipapermright': {'read', 'search', 'compare'},
|
||||
'ipapermdefaultattr': {
|
||||
'memberof',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
label = _('Hosts')
|
||||
label_singular = _('Host')
|
||||
|
Loading…
Reference in New Issue
Block a user