mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed object_name usage.
The object_name attribute was used as both an identifier and a label which sometimes require different values (e.g. hbacrule vs. HBAC rule). The code that uses object_name as an identifier has been changed to use the 'name' attribute instead. The values of the object_name attribute have been fixed to become proper labels. Ticket #1217
This commit is contained in:
committed by
Adam Young
parent
cd237e5f54
commit
6083df1b02
@@ -51,8 +51,8 @@ class sudocmdgroup(LDAPObject):
|
||||
Sudo Group object.
|
||||
"""
|
||||
container_dn = api.env.container_sudocmdgroup
|
||||
object_name = 'sudocmdgroup'
|
||||
object_name_plural = 'sudocmdgroups'
|
||||
object_name = 'sudo command group'
|
||||
object_name_plural = 'sudo command groups'
|
||||
object_class = ['ipaobject', 'ipasudocmdgrp']
|
||||
default_attributes = [
|
||||
'cn', 'description', 'member',
|
||||
|
||||
Reference in New Issue
Block a user