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

feat: export isAuthorizedByRole util function #85

Merged
merged 3 commits into from May 13, 2020
Merged

Conversation

darahayes
Copy link
Contributor

Refactors the piece of code in the hasRole resolver that actually checks the roles into a separate utility function that is exported. This can be used by other packages that want to integrate with keycloak-connect-graphql

@darahayes darahayes requested a review from wtrocki May 13, 2020 14:45
src/directives/utils.ts Outdated Show resolved Hide resolved
@darahayes darahayes merged commit 752e426 into master May 13, 2020
@darahayes darahayes deleted the util-function branch May 13, 2020 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants