Hello,
I have a client application accessed by users in two roles: app-user and app-admin. I have a policy associated with each role and I created a resource whose permission was associated with both policies, that is, both app-user and app-admin users could access the resource.
I then removed the app-user policy from the permission, in order to allow only admin users to access the resource, but now users with only the app-user role are still able to access it, no matter what I do. I already restarted my application, restarted the Keycloak server, and cleared all the caches, but the permission in its updated form still does not work as expected, although when I evaluate it in the admin console it works correctly.
Am I missing something? Is there something else that needs to be fixed when a permission is changed?
Thanks and regards,
Vivian.