From 85f9dc12fb82f6d7c73568b9c4d023745c9b0dea Mon Sep 17 00:00:00 2001 From: erderial <71669104+erderial@users.noreply.github.com> Date: Thu, 9 Mar 2023 22:38:37 +0200 Subject: [PATCH] Update auth.py --- confluent_server/confluent/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/auth.py b/confluent_server/confluent/auth.py index 915c31e6..55b3836c 100644 --- a/confluent_server/confluent/auth.py +++ b/confluent_server/confluent/auth.py @@ -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