diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-08-03 13:39:25 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-08-14 08:09:50 +0200 |
commit | ade68ec94f00f69033b310c74467c4e5c1dda35c (patch) | |
tree | c9d1e6bf5210a66286cde73cdefe60973748fda7 /install/ui/ipa.js | |
parent | 994eeb55c9b232c103deed3f41da238d142c214b (diff) | |
download | freeipa-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.js | 6 |
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 = {}; |