mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added attrs field to permission for target=subtree
Permission form was missing attrs field for target=subtree. All other target types have it. It uses multivalued text widget, same as filter, because we can't predict the target type. https://fedorahosted.org/freeipa/ticket/2592
This commit is contained in:
@@ -836,6 +836,9 @@ IPA.permission_target_policy = function (widget_name) {
|
||||
additional: [
|
||||
{
|
||||
name: 'memberof'
|
||||
},
|
||||
{
|
||||
name: 'attrs_multi'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -282,7 +282,7 @@ test("Testing subtree target.", function() {
|
||||
|
||||
same(record.subtree[0], data.result.result.subtree, 'subtree set correctly');
|
||||
|
||||
same(get_visible_rows(target_widget), ['memberof', 'subtree'], 'subtree row visible');
|
||||
same(get_visible_rows(target_widget), ['memberof', 'subtree', 'attrs_multi'], 'subtree row visible');
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user