mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 16:31:08 -06:00
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:
parent
a38ad1d433
commit
aca908e1e4
@ -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: [
|
||||
|
@ -85,6 +85,18 @@ IPA.entity_factories.host = function () {
|
||||
name: 'memberof_role',
|
||||
associator: IPA.serial_associator
|
||||
}).
|
||||
association_facet({
|
||||
name: 'memberof_hbacrule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_host',
|
||||
remove_method: 'remove_host'
|
||||
}).
|
||||
association_facet({
|
||||
name: 'memberof_sudorule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_host',
|
||||
remove_method: 'remove_host'
|
||||
}).
|
||||
standard_association_facets().
|
||||
adder_dialog({
|
||||
width:500,
|
||||
|
@ -37,6 +37,18 @@ IPA.entity_factories.hostgroup = function() {
|
||||
name: 'memberof_hostgroup',
|
||||
associator: IPA.serial_associator
|
||||
}).
|
||||
association_facet({
|
||||
name: 'memberof_hbacrule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_host',
|
||||
remove_method: 'remove_host'
|
||||
}).
|
||||
association_facet({
|
||||
name: 'memberof_sudorule',
|
||||
associator: IPA.serial_associator,
|
||||
add_method: 'add_host',
|
||||
remove_method: 'remove_host'
|
||||
}).
|
||||
standard_association_facets().
|
||||
adder_dialog({
|
||||
fields:['cn','description']
|
||||
|
@ -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
|
||||
}).
|
||||
|
Loading…
Reference in New Issue
Block a user