From ade68ec94f00f69033b310c74467c4e5c1dda35c Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 3 Aug 2012 13:39:25 +0200 Subject: 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 --- install/ui/ipa.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'install/ui/ipa.js') 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 = {}; -- cgit