summaryrefslogtreecommitdiffstats
path: root/install/static/group.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-10-01 16:33:57 -0500
committerAdam Young <ayoung@redhat.com>2010-10-02 18:13:30 -0400
commitb7097fc8c9096e3e8bf4a01edc6d7274c9c4cac0 (patch)
treeaeb0d79cf1dc9feea61a261cdd985c3b64033b40 /install/static/group.js
parentaa7ecb6f5ff234fa9001bbea3ebe2e5360656139 (diff)
downloadfreeipa-b7097fc8c9096e3e8bf4a01edc6d7274c9c4cac0.tar.gz
freeipa-b7097fc8c9096e3e8bf4a01edc6d7274c9c4cac0.tar.xz
freeipa-b7097fc8c9096e3e8bf4a01edc6d7274c9c4cac0.zip
Entity association configuration.
The ipa_entity_set_association_definition() has been added to configure the association between 2 entitites. By default the associator is BulkAssociator and the method is add_member. The entities have been updated to use the right configurations. The ipa_cmd() has been modified to detect IPA errors and invoke the error handler. A bug in refresh_on_success() has been fixed as well.
Diffstat (limited to 'install/static/group.js')
-rw-r--r--install/static/group.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/install/static/group.js b/install/static/group.js
index 4c2c5b0a..591184de 100644
--- a/install/static/group.js
+++ b/install/static/group.js
@@ -44,6 +44,12 @@ ipa_entity_set_details_definition('group', [
]]
]);
+ipa_entity_set_association_definition('group', {
+ 'netgroup': { associator: SerialAssociator },
+ 'rolegroup': { associator: SerialAssociator },
+ 'taskgroup': { associator: SerialAssociator }
+});
+
function f_posix(dlg, mode)
{
function checkbox_on_click() {