You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its pretty clear that the library only supports loading role based policies for now. When creating a scope based permission, we should first check if the policy linked to that permission has been loaded by us and if not, we should skip adding that policy to the policies attribute of the Authorization class. Since we're pretty much doing the same thing with resource based permissions, I'm not sure why we haven't done the same with scope based permissions.
The text was updated successfully, but these errors were encountered:
sras1599
changed the title
Authorization.load_config breaks when authorization config contains scope based permission with anything other than a role based policyAuthorization.load_config breaks when authorization config contains scope based permission linked with anything other than a role based policy
May 14, 2023
sras1599
added a commit
to sras1599/python-keycloak
that referenced
this issue
May 14, 2023
Its pretty clear that the library only supports loading role based policies for now. When creating a scope based permission, we should first check if the policy linked to that permission has been loaded by us and if not, we should skip adding that policy to the
policies
attribute of theAuthorization
class. Since we're pretty much doing the same thing with resource based permissions, I'm not sure why we haven't done the same with scope based permissions.The text was updated successfully, but these errors were encountered: