summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-02-08 15:09:44 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-03-06 12:56:44 +0100
commitdc5fcc2969789f03992a23ebd336b4c6f0d7e025 (patch)
tree61b9ec44226245210e25d92b474d06553086ddbd
parent99421026f6e641ab80618814bc6418f2d285f8f2 (diff)
downloadfreeipa-dc5fcc2969789f03992a23ebd336b4c6f0d7e025.tar.gz
freeipa-dc5fcc2969789f03992a23ebd336b4c6f0d7e025.tar.xz
freeipa-dc5fcc2969789f03992a23ebd336b4c6f0d7e025.zip
Web UI: configurable SID blacklists
Added blacklists section, with ipantsidblacklistincoming and ipantsidblacklistoutgoing multivalued textbox fields, into trust details page. https://fedorahosted.org/freeipa/ticket/3289
-rw-r--r--install/ui/src/freeipa/trust.js14
-rw-r--r--install/ui/test/data/ipa_init.json1
-rw-r--r--ipalib/plugins/internal.py1
3 files changed, 16 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/trust.js b/install/ui/src/freeipa/trust.js
index 22880bfe7..e4a227ab7 100644
--- a/install/ui/src/freeipa/trust.js
+++ b/install/ui/src/freeipa/trust.js
@@ -60,6 +60,20 @@ IPA.trust.entity = function(spec) {
name: 'trusttype',
label: IPA.messages.objects.trust.trusttype
}
+ ]
+ },
+ {
+ name: 'blacklists',
+ label: IPA.messages.objects.trust.blacklists,
+ fields: [
+ {
+ type: 'multivalued',
+ name: 'ipantsidblacklistincoming'
+ },
+ {
+ type: 'multivalued',
+ name: 'ipantsidblacklistoutgoing'
+ }
// trust status not supported by show command at the moment
// {
// name: 'truststatus',
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index c16bc992e..73d54578b 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -447,6 +447,7 @@
"trust": {
"account": "Account",
"admin_account": "Administrative account",
+ "name": "SID blacklists",
"details": "Trust Settings",
"domain": "Domain",
"establish_using": "Establish using",
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 42bece601..2ca112ee0 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -586,6 +586,7 @@ class i18n_messages(Command):
"trust": {
"account": _("Account"),
"admin_account": _("Administrative account"),
+ "blacklists": _("SID blacklists"),
"details": _("Trust Settings"),
"domain": _("Domain"),
"establish_using": _("Establish using"),