summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/group.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/group.js')
-rw-r--r--install/ui/src/freeipa/group.js27
1 files changed, 22 insertions, 5 deletions
diff --git a/install/ui/src/freeipa/group.js b/install/ui/src/freeipa/group.js
index b04c32d87..34aa02f33 100644
--- a/install/ui/src/freeipa/group.js
+++ b/install/ui/src/freeipa/group.js
@@ -20,10 +20,18 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-define(['./ipa', './jquery', './details', './search', './association',
- './entity'], function(IPA, $) {
-
-IPA.group = {};
+define([
+ './ipa',
+ './jquery',
+ './phases',
+ './reg',
+ './details',
+ './search',
+ './association',
+ './entity'],
+ function(IPA, $, phases, reg) {
+
+var exp = IPA.group = {};
IPA.group.entity = function(spec) {
@@ -256,5 +264,14 @@ IPA.group.make_external_action = function(spec) {
IPA.register('group', IPA.group.entity);
-return {};
+exp.register = function() {
+ var a = reg.action;
+
+ a.register('make_posix', exp.make_posix_action);
+ a.register('make_external', exp.make_external_action);
+};
+
+phases.on('registration', exp.register);
+
+return exp;
}); \ No newline at end of file