[keycloak-user] Keycloak enforcer nodejs adapter

Rafael Tovar. rafatov10 at gmail.com
Fri Jun 7 05:36:53 EDT 2019


Hi everybody,
How can i check if i have access to an specific scope of a resource with
the enforcer method?

Example:

I have the resource 'res:devices' with the scope 'read' and an scope based
permission 'devices-read', that permission has associated the resource
'res:devices' and the scope 'read'. Im aplying a role based policy with the
admin role to that permission.

How can i check that the role admin can access to the scope read of that
resource.

Thanks,
Rafael.


More information about the keycloak-user mailing list