1
0
Fork 0
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:
kakwa 2015-06-11 00:33:14 +02:00
parent 98a994e368
commit 9b803008bc
3 changed files with 13 additions and 0 deletions

View file

@ -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)