Our team is currently developing our first Quarkus application, with most developers primarily experienced with the Spring ecosystem. We are facing the following authorization related problem:
Our users are authenticated by openID and JWT using the company-given SSO solution, where some default roles are already given. We have some special domain specific rules like if user has at least one role of [A, B, C] he implicitely gets role Z (in principle something like composite roles). The role "Z" is not coming from the JWT token. Authorization in the resource endpoints should then work e.g. with both @RolesAllowed("A") and @RolesAllowed("Z").
How would you achieve this in Quarkus?