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

Allow AllowedRoles in PanacheEntityResource #28507

Closed
gmuellerinform opened this issue Oct 11, 2022 · 2 comments · Fixed by #28594
Closed

Allow AllowedRoles in PanacheEntityResource #28507

gmuellerinform opened this issue Oct 11, 2022 · 2 comments · Fixed by #28594
Labels
area/panache kind/enhancement New feature or request
Milestone

Comments

@gmuellerinform
Copy link
Contributor

gmuellerinform commented Oct 11, 2022

Description

PanacheEntityResource is missing a way to allow roles in code. When using the configuration (quarkus.http.auth.) the roles are not shown in OpenAPI.

Thanks!

Implementation ideas

No response

@gmuellerinform gmuellerinform added the kind/enhancement New feature or request label Oct 11, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 11, 2022

/cc @FroMage, @loicmathieu

@geoand
Copy link
Contributor

geoand commented Oct 12, 2022

cc @Sgitario

Sgitario added a commit to Sgitario/quarkus that referenced this issue Oct 14, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
Sgitario added a commit to Sgitario/quarkus that referenced this issue Oct 14, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
Sgitario added a commit to Sgitario/quarkus that referenced this issue Oct 14, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
@quarkus-bot quarkus-bot bot added this to the 2.14 - main milestone Oct 15, 2022
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 16, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 16, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 16, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
igorregis pushed a commit to igorregis/quarkus that referenced this issue Oct 17, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
Liuigi pushed a commit to Liuigi/quarkus that referenced this issue Oct 17, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
tmihalac pushed a commit to tmihalac/quarkus that referenced this issue Oct 27, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507
@gsmet gsmet modified the milestones: 2.14.0.CR1, 2.13.6.Final Dec 14, 2022
gsmet pushed a commit to gsmet/quarkus that referenced this issue Dec 14, 2022
With these changes, we can specify the roles using the annotations `@ResourceProperties` at resource level, and `@MethodProperties` for method level.
Fix quarkusio#28507

(cherry picked from commit dda7d78)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/panache kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants