diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-08 05:03:28 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-02-12 17:07:37 -0500 |
commit | 069763c5c616221fd0bcea813cad93ae3f7c072d (patch) | |
tree | 3c7944836ca68119671482e3ee2f9365032fa640 /ipalib/plugins/hbac.py | |
parent | 338578d10ac0978a00948971a17a89dc95435954 (diff) | |
download | freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.tar.gz freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.tar.xz freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.zip |
Add Object.label class attribute, enable in webUI
Diffstat (limited to 'ipalib/plugins/hbac.py')
-rw-r--r-- | ipalib/plugins/hbac.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugins/hbac.py b/ipalib/plugins/hbac.py index ac944591e..29567cfff 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', |