mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipaserver/plugins/hbacrule: Add HBAC to memberservice_hbacsvc* labels
The labels for memberservice_hbacsvc and memberservice_hbacsvcgroup are only "Services" and "Service Groups" but they should be "HBAC Services" and "HBAC Service Groups". Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
8067954229
commit
51fcca5352
@ -283,11 +283,11 @@ class hbacrule(LDAPObject):
|
||||
flags=['no_create', 'no_update', 'no_search', 'no_option'],
|
||||
),
|
||||
Str('memberservice_hbacsvc?',
|
||||
label=_('Services'),
|
||||
label=_('HBAC Services'),
|
||||
flags=['no_create', 'no_update', 'no_search'],
|
||||
),
|
||||
Str('memberservice_hbacsvcgroup?',
|
||||
label=_('Service Groups'),
|
||||
label=_('HBAC Service Groups'),
|
||||
flags=['no_create', 'no_update', 'no_search'],
|
||||
),
|
||||
external_host_param,
|
||||
|
@ -592,7 +592,7 @@ class TestIPACommand(IntegrationTest):
|
||||
assert 'User category: all' in lines
|
||||
assert 'Host category: all' in lines
|
||||
assert 'Enabled: TRUE' in lines
|
||||
assert 'Services: systemd-user' in lines
|
||||
assert 'HBAC Services: systemd-user' in lines
|
||||
assert 'accessruletype: allow' in lines
|
||||
|
||||
# delete both
|
||||
@ -616,7 +616,7 @@ class TestIPACommand(IntegrationTest):
|
||||
assert 'User category: all' in lines
|
||||
assert 'Host category: all' in lines
|
||||
assert 'Enabled: TRUE' in lines
|
||||
assert 'Services: systemd-user' in lines
|
||||
assert 'HBAC Services: systemd-user' in lines
|
||||
assert 'accessruletype: allow' in lines
|
||||
|
||||
self.master.run_command(
|
||||
|
Loading…
Reference in New Issue
Block a user