Closed daniel-shuy closed 1 year ago
Hey @daniel-shuy, thank you for opening the PR. I will evaluate to add it in the next release which will happen on 19.11.
Hi @mauriciovigolo, since this feature isn't a breaking change, is it possible to backport it to v14
? Our company isn't ready to upgrade to Angular 17
yet (not all our library dependencies are Angular 17
ready)
Hi Daniel 👋
Yes, we could do that! I could work on it this week, would that be okay?
@mauriciovigolo Sure, no hurry, thanks!
Hi @daniel-shuy, keycloak-angular@v14.0.3 contains these changes and also supports keycloak-js@24. All the best 🙂
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #522
What is the new behavior?
Added a new
resource
parameter toKeycloakService#getUserRoles()
.This parameter can be used to filter resource roles by a resource (usually
clientId
).If the parameter is not specified, the function returns all resource roles, as-per the current behavior, to avoid any breaking changes.
Does this PR introduce a breaking change?
Other information