mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added HBAC Test page.
This is the initial implementation of HBAC Test page. Currently it can select user, source/target group, service, rules, and execute the test. Other functionalities to be implemented include the search filter, external users/hosts, back/next buttons, validation, styling, and internalization. Ticket #388
This commit is contained in:
committed by
Endi S. Dewata
parent
caa9d52666
commit
2203bb650c
@@ -59,6 +59,8 @@ IPA.search_facet = function(spec) {
|
||||
'class': 'right-aligned-facet-controls'
|
||||
}).appendTo(that.controls);
|
||||
|
||||
span.append(IPA.create_network_spinner());
|
||||
|
||||
var filter_container = $('<div/>', {
|
||||
'class': 'search-filter'
|
||||
}).appendTo(span);
|
||||
@@ -84,8 +86,6 @@ IPA.search_facet = function(spec) {
|
||||
}
|
||||
}).appendTo(filter_container);
|
||||
|
||||
span.append(IPA.create_network_spinner());
|
||||
|
||||
that.remove_button = IPA.action_button({
|
||||
name: 'remove',
|
||||
label: IPA.messages.buttons.remove,
|
||||
@@ -183,12 +183,14 @@ IPA.search_facet = function(spec) {
|
||||
that.refresh = function() {
|
||||
|
||||
var filter = [];
|
||||
var current_entity = that.managed_entity;
|
||||
filter.unshift(IPA.nav.get_state(current_entity.name+'-filter'));
|
||||
current_entity = current_entity.get_containing_entity();
|
||||
while (current_entity !== null) {
|
||||
filter.unshift(IPA.nav.get_state(current_entity.name+'-pkey'));
|
||||
current_entity = current_entity.get_containing_entity();
|
||||
var entity = that.managed_entity;
|
||||
|
||||
filter.unshift(IPA.nav.get_state(entity.name+'-filter'));
|
||||
entity = entity.get_containing_entity();
|
||||
|
||||
while (entity !== null) {
|
||||
filter.unshift(IPA.nav.get_state(entity.name+'-pkey'));
|
||||
entity = entity.get_containing_entity();
|
||||
}
|
||||
|
||||
var command = IPA.command({
|
||||
|
||||
Reference in New Issue
Block a user