cedadev / nlds

Near Line Data Store
Other
9 stars 0 forks source link

Add user roles #109

Closed nf679 closed 4 months ago

nmassey001 commented 4 months ago

@nf679 as we discussed, can you change the following bit of code in jasmin_authenticator.authenticate_user_group_role

for role in user_role:
    if role in ["MANAGER", "DEPUTY"]:
        is_manager = True
    else:
        is_manager = False
return is_manager

Thanks.