From 069763c5c616221fd0bcea813cad93ae3f7c072d Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 8 Feb 2010 05:03:28 -0700 Subject: Add Object.label class attribute, enable in webUI --- ipalib/plugins/hbac.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/plugins/hbac.py') diff --git a/ipalib/plugins/hbac.py b/ipalib/plugins/hbac.py index ac944591..29567cff 100644 --- a/ipalib/plugins/hbac.py +++ b/ipalib/plugins/hbac.py @@ -23,6 +23,7 @@ Host based access control from ipalib import api, errors from ipalib import AccessTime, Password, Str, StrEnum from ipalib.plugins.baseldap import * +from ipalib import _, ngettext class hbac(LDAPObject): """ @@ -58,6 +59,8 @@ class hbac(LDAPObject): 'sourcehost': ['host', 'hostgroup'], } + label = _('HBAC') + takes_params = ( Str('cn', cli_name='name', -- cgit