mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 12:27:47 +02:00
adding descriptions for roles
This commit is contained in:
parent
98a994e368
commit
9b803008bc
3 changed files with 13 additions and 0 deletions
|
@ -115,6 +115,9 @@ class Roles:
|
|||
if not 'display_name' in role:
|
||||
raise MissingKey('display_name', role, self.role_file)
|
||||
|
||||
if not 'description' in role:
|
||||
raise MissingKey('description', role, self.role_file)
|
||||
|
||||
# Backend is mandatory
|
||||
if not 'backends_groups' in role:
|
||||
raise MissingKey('backends_groups', role, self.role_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue