From a5c8dcd996f5b3e39b9b1306453e2a8de4c3a8c0 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 17 Aug 2012 11:00:37 +0200 Subject: Fix managedBy label for DNS zone Even though managedBy output parameter was only used for failed host managedBy memberships, it was defined in global baseldap.py classes. Incorrect label was then being displayed also for DNS zone per-zone permission attribute with the same name. Move managedBy output parameter to host plugin. Define proper managedBy output parameter in DNS plugin to improve clarity of this attribute. https://fedorahosted.org/freeipa/ticket/2946 --- ipalib/plugins/host.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/plugins/host.py') diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py index a417ba0f..319bdf72 100644 --- a/ipalib/plugins/host.py +++ b/ipalib/plugins/host.py @@ -172,6 +172,9 @@ host_output_params = ( Str('revocation_reason?', label=_('Revocation reason'), ), + Str('managedby', + label=_('Failed managedby'), + ), ) def validate_ipaddr(ugettext, ipaddr): -- cgit