Fixed missing memberof definition in HBAC service.

The HBAC service class has been modified to define the memberof
relationship with HBAC service group.

Ticket #1546
This commit is contained in:
Endi S. Dewata 2011-07-28 18:45:44 -05:00 committed by Adam Young
parent be17fed8c4
commit 1983193d47

View File

@ -55,8 +55,11 @@ class hbacsvc(LDAPObject):
object_name = _('HBAC service')
object_name_plural = _('HBAC services')
object_class = [ 'ipaobject', 'ipahbacservice' ]
default_attributes = ['cn', 'description', 'memberindirect',]
default_attributes = ['cn', 'description', 'memberof']
uuid_attribute = 'ipauniqueid'
attribute_members = {
'memberof': ['hbacsvcgroup'],
}
label = _('HBAC Services')
label_singular = _('HBAC Service')