mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Changed dns permission types
Recent change of DNS module to version caused that dns object type was replaced by dnszone and dnsrecord. This patch corrects dns types in permissions class. https://fedorahosted.org/freeipa/ticket/646
This commit is contained in:
parent
856d890bb3
commit
25c5c43ed4
@ -137,7 +137,7 @@ _type_map = {
|
||||
'hostgroup': 'ldap:///cn=*,%s,%s' % (api.env.container_hostgroup, api.env.basedn),
|
||||
'service': 'ldap:///krbprincipalname=*,%s,%s' % (api.env.container_service, api.env.basedn),
|
||||
'netgroup': 'ldap:///ipauniqueid=*,%s,%s' % (api.env.container_netgroup, api.env.basedn),
|
||||
'dns': 'ldap:///idnsname=*,%s,%s' % (api.env.container_dns, api.env.basedn),
|
||||
'dnsrecord': 'ldap:///idnsname=*,%s,%s' % (api.env.container_dns, api.env.basedn),
|
||||
}
|
||||
|
||||
_valid_permissions_values = [
|
||||
@ -443,7 +443,7 @@ class aci(Object):
|
||||
cli_name='type',
|
||||
label=_('Type'),
|
||||
doc=_('type of IPA object (user, group, host, hostgroup, service, netgroup)'),
|
||||
values=(u'user', u'group', u'host', u'service', u'hostgroup', u'netgroup', u'dns',),
|
||||
values=(u'user', u'group', u'host', u'service', u'hostgroup', u'netgroup', u'dnsrecord'),
|
||||
),
|
||||
Str('memberof?',
|
||||
cli_name='memberof',
|
||||
|
@ -128,7 +128,7 @@ class permission(LDAPObject):
|
||||
cli_name='type',
|
||||
label=_('Type'),
|
||||
doc=_('Type of IPA object (user, group, host, hostgroup, service, netgroup, dns)'),
|
||||
values=(u'user', u'group', u'host', u'service', u'hostgroup', u'netgroup', u'dns',),
|
||||
values=(u'user', u'group', u'host', u'service', u'hostgroup', u'netgroup', u'dnsrecord',),
|
||||
flags=('ask_create', 'ask_update'),
|
||||
),
|
||||
Str('memberof?',
|
||||
|
Loading…
Reference in New Issue
Block a user