eclipse-basyx / basyx-java-server-sdk

MIT License
60 stars 47 forks source link

Enhancements on Role provider to also consider resource_roles #486

Closed mdanish98 closed 1 month ago

mdanish98 commented 1 month ago

Description of Changes

Earlier the role provider only considers the roles from the realm_access but in general it should also consider roles from the resource_access. This PR adds support for the union of both the roles from realm_access and resource_access.

Related Issue

485

BaSyx Configuration for Testing

There are no specific settings or configurations to test this but modifying the Authorization Server (Keycloak) to also add roles for the resource_access.