summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/internal.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-03-28 17:53:17 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-04-10 13:19:13 +0200
commit26abd05d5ece4ad03da5abdd3a25377594a54593 (patch)
tree8296e6eed834d0e3056b609e27ecc1101aa7f2e3 /ipalib/plugins/internal.py
parent184a066f4abc0ef83434f8cebbec87028258db65 (diff)
downloadfreeipa-26abd05d5ece4ad03da5abdd3a25377594a54593.tar.gz
freeipa-26abd05d5ece4ad03da5abdd3a25377594a54593.tar.xz
freeipa-26abd05d5ece4ad03da5abdd3a25377594a54593.zip
Reworked netgroup Web UI to allow setting user/host category
This patch is changing netgroup web ui to look more like hbac or sudo rule UI. This change allows to define and display user category, host category and external host. The core of the change is changing member attributes (user, group, host, hostgroup) to use rule_details_widget instead of separate association facets. In host case it allows to display and add external hosts. https://fedorahosted.org/freeipa/ticket/2578
Diffstat (limited to 'ipalib/plugins/internal.py')
-rw-r--r--ipalib/plugins/internal.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 8ce3a0067..2f0948aea 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -450,7 +450,18 @@ class i18n_messages(Command):
"identity": _("Kerberos Ticket Policy"),
},
"netgroup": {
+ "any_host": _("Any Host"),
+ "anyone": _("Anyone"),
+ "external": _("External"),
+ "host": _("Host"),
+ "hostgroups": _("Host Groups"),
+ "hosts": _("Hosts"),
"identity": _("Netgroup Settings"),
+ "specified_hosts": _("Specified Hosts and Groups"),
+ "specified_users": _("Specified Users and Groups"),
+ "user": _("User"),
+ "usergroups": _("User Groups"),
+ "users": _("Users"),
},
"permission": {
"identity": _("Identity"),