Project

General

Profile

« Previous | Next » 

Revision ef24d7f9

Added by Marc Dequènes almost 15 years ago

  • ID ef24d7f968b3934a5f778891ab431824ff4fc450

[evol] improve config #2 (aspects config is separated)

View differences:

conf/ldap_shadows/test.conf
presentation:
hidden_attributes: ['objectClass', 'userPassword', 'hasSubordinates', 'entryUUID', 'entryDN', 'structuralObjectClass', 'subschemaSubentry']
tree_objects: ['unit', 'entity']
aspects:
mail:
mapping:
classes: ['emailUser']
presentation:
relations:
fs:
mapping:
classes: ['fsUser']
presentation:
associated_relations: ['primaryGroup', 'secondaryGroups']
relations:
primaryGroup:
type: :belongs_to
object: group
foreign_key: gidNumber
primary_key: gidNumber
secondaryGroups:
type: :belongs_to
object: group
many: uniqueMember
foreign_key: dn
shell:
mapping:
classes: ['shellUser']
depend_aspects: ['primary', 'fs']
presentation:
associated_attributes: ['loginShell']
relations:
ftp:
mapping:
classes: ['ftpUser']
depend_aspects: ['primary', 'fs']
presentation:
relations:
web:
mapping:
classes: ['webUser']
depend_aspects: ['primary']
presentation:
relations:
jabber:
mapping:
classes: ['jabberUser']
presentation:
relations:
primary:
mapping:
classes: ['primaryAccount']
presentation:
associated_attributes: ['uid']
relations:

Also available in: Unified diff