mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added policies into user details page.
The user details page has been modified to show the password policy and Kerberos ticket policy that apply to the user. The policies are currently displayed as read-only. Ticket #703
This commit is contained in:
committed by
Petr Vobornik
parent
0e037f24ce
commit
74e31cd985
@@ -198,10 +198,10 @@ IPA.field = function(spec) {
|
||||
that.get_update_info = function() {
|
||||
|
||||
var update_info = IPA.update_info_builder.new_update_info();
|
||||
if(that.is_dirty()) {
|
||||
update_info.fields.push(IPA.update_info_builder.new_field_info(
|
||||
that,
|
||||
that.save()));
|
||||
if (that.is_dirty()) {
|
||||
var values = that.save();
|
||||
var field_info = IPA.update_info_builder.new_field_info(that, values);
|
||||
update_info.fields.push(field_info);
|
||||
}
|
||||
return update_info;
|
||||
};
|
||||
@@ -679,6 +679,7 @@ IPA.enable_field = function(spec) {
|
||||
return that;
|
||||
};
|
||||
|
||||
// TODO: Add support for nested fields
|
||||
IPA.field_container = function(spec) {
|
||||
|
||||
spec = spec || {};
|
||||
|
||||
Reference in New Issue
Block a user