mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
adding loading of the roles yaml file
This commit is contained in:
parent
6ece24bd84
commit
e9ff75061d
4 changed files with 94 additions and 8 deletions
|
@ -9,3 +9,16 @@ class MissingParameter(Exception):
|
|||
def __init__(self, section, key):
|
||||
self.section = section
|
||||
self.key = key
|
||||
|
||||
class MissingKey(Exception):
|
||||
def __init__(self, key):
|
||||
self.key = key
|
||||
|
||||
class DumplicateRoleKey(Exception):
|
||||
def __init__(self, role):
|
||||
self.role = role
|
||||
|
||||
class DumplicateRoleContent(Exception):
|
||||
def __init__(self, role1, role2):
|
||||
self.role1 = role1
|
||||
self.role2 = role2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue