Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document RBAC used on CDI beans and IO thread when method returns "something" in a synchronous manner #29229

Conversation

michalvavrik
Copy link
Member

closes: #23547 (together with #26529)

Document known issue when RBAC annotation is used on CDI beans and method that is invoked from IO thread return "something" in a synchronous manner. While it works in certain situations (if authentication happen further up the stream and current identity association has been intentionally set; in short, that's rare), it seems dodgy and we should warn users. See also #23547 (comment).

@michalvavrik michalvavrik force-pushed the feature/document-rbac-bean-method-behavior branch 2 times, most recently from f61df19 to f4e6cdc Compare November 14, 2022 10:14
@michalvavrik michalvavrik force-pushed the feature/document-rbac-bean-method-behavior branch from f4e6cdc to 696cb4a Compare November 14, 2022 11:28
@michalvavrik michalvavrik force-pushed the feature/document-rbac-bean-method-behavior branch from 696cb4a to ea47a55 Compare November 14, 2022 11:31
@sberyozkin sberyozkin merged commit 402107d into quarkusio:main Nov 14, 2022
@quarkus-bot quarkus-bot bot added this to the 2.15 - main milestone Nov 14, 2022
@michalvavrik michalvavrik deleted the feature/document-rbac-bean-method-behavior branch November 14, 2022 12:56
@gsmet gsmet modified the milestones: 2.15 - main, 2.14.1.Final Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SecurityConstrainer may cause BlockingOperationNotAllowedException
3 participants