mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed inconsistent status labels.
This patch modifies the status attributes in users, DNS zones, HBAC/sudo rules, HBAC test, and SELinux User Map to use the same label (i.e. Status) and values (i.e. Enabled/Disabled). The method to change the status will be modified separately. Ticket #2247
This commit is contained in:
committed by
Petr Voborník
parent
fef343ae8f
commit
b353239e59
@@ -41,9 +41,8 @@ IPA.sudo.rule_entity = function(spec) {
|
||||
'cn',
|
||||
{
|
||||
name: 'ipaenabledflag',
|
||||
format: IPA.boolean_format({
|
||||
show_false: true
|
||||
})
|
||||
label: IPA.messages.status.label,
|
||||
format: IPA.boolean_status_format()
|
||||
},
|
||||
'description'
|
||||
]
|
||||
@@ -206,6 +205,7 @@ IPA.sudorule_details_facet = function(spec) {
|
||||
{
|
||||
type: 'enable',
|
||||
name: 'ipaenabledflag',
|
||||
label: IPA.messages.status.label,
|
||||
priority: IPA.sudo.enable_priority,
|
||||
widget: 'general.ipaenabledflag'
|
||||
}
|
||||
@@ -228,8 +228,8 @@ IPA.sudorule_details_facet = function(spec) {
|
||||
type: 'enable',
|
||||
name: 'ipaenabledflag',
|
||||
options: [
|
||||
{ value: 'TRUE', label: IPA.get_message('true') },
|
||||
{ value: 'FALSE', label: IPA.get_message('false') }
|
||||
{ value: 'TRUE', label: IPA.messages.status.enabled },
|
||||
{ value: 'FALSE', label: IPA.messages.status.disabled }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user