mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 09:41:55 -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',
|
name: 'memberof_role',
|
||||||
associator: IPA.serial_associator
|
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().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields: [
|
fields: [
|
||||||
|
@ -85,6 +85,18 @@ IPA.entity_factories.host = function () {
|
|||||||
name: 'memberof_role',
|
name: 'memberof_role',
|
||||||
associator: IPA.serial_associator
|
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().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
width:500,
|
width:500,
|
||||||
|
@ -37,6 +37,18 @@ IPA.entity_factories.hostgroup = function() {
|
|||||||
name: 'memberof_hostgroup',
|
name: 'memberof_hostgroup',
|
||||||
associator: IPA.serial_associator
|
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().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn','description']
|
fields:['cn','description']
|
||||||
|
@ -119,6 +119,20 @@ IPA.entity_factories.user = function() {
|
|||||||
associator: IPA.serial_associator,
|
associator: IPA.serial_associator,
|
||||||
link: link
|
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({
|
standard_association_facets({
|
||||||
link: link
|
link: link
|
||||||
}).
|
}).
|
||||||
|
Loading…
Reference in New Issue
Block a user