From 271043ccf7dc16dd2c2f5d3dc99199a55ebe65b2 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 30 Jul 2012 14:30:31 +0200 Subject: Make group external New action for creating plain group external. Posix group can't be made external. https://fedorahosted.org/freeipa/ticket/2895 --- install/ui/details.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'install/ui/details.js') diff --git a/install/ui/details.js b/install/ui/details.js index e652fa3e..0530592d 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -1068,6 +1068,33 @@ IPA.value_state_evaluator = function(spec) { return that; }; +IPA.object_class_evaluator = function(spec) { + + spec.name = spec.name || 'object_class_evaluator'; + spec.event = spec.event || 'post_load'; + + var that = IPA.state_evaluator(spec); + + + that.on_event = function(data) { + + var old_state, classes, i; + + old_state = that.state; + classes = data.result.result.objectclass; + + that.state = []; + + for (i=0; i