mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Continuation of removing of not supported command options from Web UI
This patch removes following non-existing command options: * all,rights in host_disable * record_type in dns_record_add * all,rights in various xxx_remove_xxx commands used in rule_association_table_field (removing association) https://fedorahosted.org/freeipa/ticket/2878
This commit is contained in:
@@ -1042,7 +1042,7 @@ IPA.dns.record_entity = function(spec) {
|
||||
{
|
||||
name: 'record_type',
|
||||
type: 'dnsrecord_type',
|
||||
enabled: false,
|
||||
flags: ['no_command'],
|
||||
widget: 'general.record_type'
|
||||
}
|
||||
],
|
||||
|
||||
@@ -648,7 +648,6 @@ IPA.host_unprovision_dialog = function(spec) {
|
||||
entity: that.entity.name,
|
||||
method: 'disable',
|
||||
args: pkey,
|
||||
options: { all: true, rights: true },
|
||||
on_success: on_success,
|
||||
on_error: on_error
|
||||
});
|
||||
|
||||
@@ -209,8 +209,7 @@ IPA.rule_association_table_field = function(spec) {
|
||||
var command = IPA.command({
|
||||
entity: that.entity.name,
|
||||
method: that.widget.remove_method,
|
||||
args: that.entity.get_primary_key(),
|
||||
options: {all: true, rights: true}
|
||||
args: that.entity.get_primary_key()
|
||||
});
|
||||
|
||||
command.set_option(that.widget.other_entity.name, values);
|
||||
|
||||
Reference in New Issue
Block a user