2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-04-13 16:57:59 +00:00

Correct error in check_for_yaml function in auth

This commit is contained in:
Jarrod Johnson 2023-07-26 16:15:36 -04:00
parent b1018d648e
commit ad25c31d3f

View File

@ -145,7 +145,7 @@ def add_roles(_allowed,_denied):
def check_for_yaml():
#checking if the file exists
if exists("/etc/confluent/authorization.yaml"):
if os.path.exists("/etc/confluent/authorization.yaml"):
add_roles(_allowedbyrole,_deniedbyrole)
return "Custom auth. file detected in /etc/confluent, updated roles accordingly"