mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Update auth.py
This commit is contained in:
parent
56dea2422a
commit
85f9dc12fb
@ -124,11 +124,11 @@ class PromptsNeeded(Exception):
|
||||
with open("/etc/confluent/authorization.yaml","r") as stream:
|
||||
loaded_file = yaml.safe_load(stream)
|
||||
try:
|
||||
allowed_loaded = loaded_file["_allowedbyrole"]
|
||||
allowed_loaded = loaded_file["allowedbyrole"]
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
denied_loaded = loaded_file["_deniedbyrole"]
|
||||
denied_loaded = loaded_file["deniedbyrole"]
|
||||
except:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user