We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f52ea7 commit f8084bbCopy full SHA for f8084bb
superset/stackable/patches/4.0.2/001-opa-integration.patch
@@ -30,6 +30,7 @@ index 0000000000..6ff95b62b7
30
+ logging.info(f'found opa roles in superset: {opa_roles}')
31
+ # Ensure that in case of a bad or no reponse from OPA each user will have at least one role.
32
+ if opa_roles == None:
33
++ logging.info(f'Defaulting to AUTH_USER_REGISTRATION_ROLE, as opa_roles returned None')
34
+ opa_roles.add(default_role)
35
+
36
+ if set(user.roles) != opa_roles:
0 commit comments