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
@@ -1257,7 +1257,15 @@ IPA.table_widget = function (spec) {
|
||||
$('input[name="'+that.name+'"]', that.thead).attr('checked', false).
|
||||
attr('title', IPA.messages.search.select_all);
|
||||
$('input[name="'+that.name+'"]', that.tbody).attr('checked', false);
|
||||
that.select_changed();
|
||||
};
|
||||
|
||||
that.set_values = function(values) {
|
||||
$('input[name="'+that.name+'"]', that.tbody).attr('checked', false);
|
||||
for (var i=0; values && i<values.length; i++) {
|
||||
var value = values[i];
|
||||
$('input[name="'+that.name+'"][value="'+value+'"]', that.tbody).attr('checked', true);
|
||||
}
|
||||
that.select_changed();
|
||||
};
|
||||
|
||||
@@ -1274,8 +1282,6 @@ IPA.table_widget = function (spec) {
|
||||
var record = that.get_record(result, i);
|
||||
that.add_record(record);
|
||||
}
|
||||
|
||||
that.unselect_all();
|
||||
};
|
||||
|
||||
that.save = function() {
|
||||
|
Reference in New Issue
Block a user