summaryrefslogtreecommitdiffstats
path: root/install/ui/user.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-07-06 10:03:04 -0500
committerAdam Young <ayoung@redhat.com>2011-07-06 11:42:14 -0400
commitaca908e1e4d08d52a95edca2013c510abe2d1788 (patch)
treee97dab1ba15a8def1b37e902febfe9b4bb513f1f /install/ui/user.js
parenta38ad1d433a4cb6d35c582d48ed044e7fbfd8508 (diff)
downloadfreeipa-aca908e1e4d08d52a95edca2013c510abe2d1788.tar.gz
freeipa-aca908e1e4d08d52a95edca2013c510abe2d1788.tar.xz
freeipa-aca908e1e4d08d52a95edca2013c510abe2d1788.zip
Fixed HBAC/Sudo rules associations.
The HBAC/Sudo rules associations in users, groups, hosts and host groups have been fixed to use the correct associator and method names. Ticket #1438
Diffstat (limited to 'install/ui/user.js')
-rw-r--r--install/ui/user.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/install/ui/user.js b/install/ui/user.js
index 9617dec99..9fd14d69d 100644
--- a/install/ui/user.js
+++ b/install/ui/user.js
@@ -119,6 +119,20 @@ IPA.entity_factories.user = function() {
associator: IPA.serial_associator,
link: link
}).
+ association_facet({
+ name: 'memberof_hbacrule',
+ associator: IPA.serial_associator,
+ add_method: 'add_user',
+ remove_method: 'remove_user',
+ link: link
+ }).
+ association_facet({
+ name: 'memberof_sudorule',
+ associator: IPA.serial_associator,
+ add_method: 'add_user',
+ remove_method: 'remove_user',
+ link: link
+ }).
standard_association_facets({
link: link
}).