Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Add ability to work with realm level roles #99

Open
wtrocki opened this issue Jun 16, 2020 · 0 comments
Open

Add ability to work with realm level roles #99

wtrocki opened this issue Jun 16, 2020 · 0 comments

Comments

@wtrocki
Copy link
Contributor

wtrocki commented Jun 16, 2020

We need to add docs to readme about to do it

* * `hasRole('realm:admin')` will check the logged in user has the admin realm role
* * `hasRole('some-other-app:admin')` will check the loged in user has the admin realm role in a different application

It looks like current lib requires users to create roles on the server client and it is not working with cluster-level roles.

@wtrocki wtrocki self-assigned this Jun 16, 2020
@wtrocki wtrocki removed their assignment Sep 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant