summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/permission.py
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-01-13 17:32:57 +0100
committerRob Crittenden <rcritten@redhat.com>2011-02-14 11:32:03 -0500
commit25c5c43ed4a22ac5527c3574be9a5a7515385cd5 (patch)
tree7bb30a70d869822b6c375c18b404de059e5ac73f /ipalib/plugins/permission.py
parent856d890bb37a9a793fdcbe0884d1e7286aeec1f5 (diff)
downloadfreeipa-25c5c43ed4a22ac5527c3574be9a5a7515385cd5.tar.gz
freeipa-25c5c43ed4a22ac5527c3574be9a5a7515385cd5.tar.xz
freeipa-25c5c43ed4a22ac5527c3574be9a5a7515385cd5.zip
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
Diffstat (limited to 'ipalib/plugins/permission.py')
-rw-r--r--ipalib/plugins/permission.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/permission.py b/ipalib/plugins/permission.py
index 61aba5260..784b4dae5 100644
--- a/ipalib/plugins/permission.py
+++ b/ipalib/plugins/permission.py
@@ -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?',