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

Add ability to work with realm level roles  #99

@wtrocki

Description

@wtrocki

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions