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

data index service OIDC protection Graphql at domain objects level and as RO/RW roles for query/mutation/subscription Endpoint #1186

Open
debu999 opened this issue Jan 6, 2022 · 6 comments
Labels

Comments

@debu999
Copy link

debu999 commented Jan 6, 2022

With capability to custom generate graphql endpoints, is it possible to add different roles to different domain objects.
viz. in travel agency problem flight and ticket can the have different roles assigned to them. Similarly can we have different roles for query/mutation/subscription.

Smallrye Graphql has been upated to support this, how to achieve in data index service.
quarkusio/quarkus#10001

@debu999
Copy link
Author

debu999 commented Jan 19, 2022

Any suggestion on this.

@debu999
Copy link
Author

debu999 commented Feb 14, 2022

@evacchi can you guide, if we can have control on domain calls in data index and Authorization configuration

@debu999
Copy link
Author

debu999 commented Jun 7, 2022

@nmirasch we need some traction to make the queries secured

@debu999
Copy link
Author

debu999 commented Jun 9, 2022

@nmirasch @sberyozkin Need some collaboration on this.

@debu999
Copy link
Author

debu999 commented Aug 15, 2022

@fjtirado @cristianonicolai can u let me know if we can have custom roles for given graphql query... Per domain object.

@ricardozanini
Copy link
Member

@debu999 I don't think we have this out of the box, nor it's planned. Domain-level authorization might be tricky to get in the current architecture. IIRC, you can require authentication from the exposed endpoints, but not the data. If you know the query graphql data generated by Data Index, you may add authentication to it using Quarkus OIDC. @nmirasch can you also please clarify here? @debu999 if this is not relevant anymore, please let me know so I can close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants