mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
a62c5a64ac
* fix unit tests on roles (adding mandatory description) * adding a method to get roles graph in json
31 lines
1005 B
YAML
31 lines
1005 B
YAML
users:
|
|
backends_groups:
|
|
ad: [Domain Users]
|
|
ldap: ['cn=users,ou=group,dc=example,dc=com']
|
|
display_name: Simple Users
|
|
description: description
|
|
subroles:
|
|
admin-lv2:
|
|
LC_admins: true
|
|
backends_groups:
|
|
ad: [Domain Users]
|
|
ldap: ['cn=nagios admins,ou=group,dc=example,dc=com']
|
|
display_name: Administrators Level 2
|
|
description: description
|
|
subroles:
|
|
admin-lv3:
|
|
backends_groups:
|
|
ad: [Domain Users, Administrators, Domain Controllers]
|
|
ldap: ['cn=dns admins,ou=group,dc=example,dc=com', 'cn=nagios admins,ou=group,dc=example,dc=com',
|
|
'cn=puppet admins,ou=group,dc=example,dc=com',]
|
|
display_name: Administrators Level 3
|
|
description: description
|
|
subroles: {}
|
|
developpers:
|
|
backends_groups:
|
|
ad: [Domain Users]
|
|
ldap: ['cn=developpers,ou=group,dc=example,dc=com']
|
|
display_name: Developpers
|
|
description: description
|
|
subroles: {}
|