summaryrefslogtreecommitdiffstats
path: root/install/ui/ipa.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-08-03 13:39:25 +0200
committerMartin Kosek <mkosek@redhat.com>2012-08-14 08:09:50 +0200
commitade68ec94f00f69033b310c74467c4e5c1dda35c (patch)
treec9d1e6bf5210a66286cde73cdefe60973748fda7 /install/ui/ipa.js
parent994eeb55c9b232c103deed3f41da238d142c214b (diff)
downloadfreeipa-ade68ec94f00f69033b310c74467c4e5c1dda35c.tar.gz
freeipa-ade68ec94f00f69033b310c74467c4e5c1dda35c.tar.xz
freeipa-ade68ec94f00f69033b310c74467c4e5c1dda35c.zip
Read-only external facet for non-external groups
Added evaluators to decide if attribute facet should be read-only based on attribute level rights. Default values serves well for group's external member. https://fedorahosted.org/freeipa/ticket/2895
Diffstat (limited to 'install/ui/ipa.js')
-rw-r--r--install/ui/ipa.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/install/ui/ipa.js b/install/ui/ipa.js
index 8a690c984..92cd1dfd3 100644
--- a/install/ui/ipa.js
+++ b/install/ui/ipa.js
@@ -833,6 +833,12 @@ IPA.command = function(spec) {
return errors;
};
+ that.check_option = function(option_name) {
+
+ var metadata = IPA.get_command_option(that.get_command(), option_name);
+ return metadata !== null;
+ };
+
that.to_json = function() {
var json = {};