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
This commit is contained in:
Endi S. Dewata
2011-07-06 10:03:04 -05:00
committed by Adam Young
parent a38ad1d433
commit aca908e1e4
4 changed files with 50 additions and 0 deletions

View File

@@ -74,6 +74,18 @@ IPA.entity_factories.group = function () {
name: 'memberof_role',
associator: IPA.serial_associator
}).
association_facet({
name: 'memberof_hbacrule',
associator: IPA.serial_associator,
add_method: 'add_user',
remove_method: 'remove_user'
}).
association_facet({
name: 'memberof_sudorule',
associator: IPA.serial_associator,
add_method: 'add_user',
remove_method: 'remove_user'
}).
standard_association_facets().
adder_dialog({
fields: [