2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-24 20:20:36 +00:00

Update auth.py

This commit is contained in:
erderial
2023-03-09 22:38:37 +02:00
committed by GitHub
parent 56dea2422a
commit 85f9dc12fb

View File

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