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

openapi: Add a filter on base request #336

Open
JulienDelRio opened this issue Sep 17, 2021 · 5 comments
Open

openapi: Add a filter on base request #336

JulienDelRio opened this issue Sep 17, 2021 · 5 comments

Comments

@JulienDelRio
Copy link

I am very happy with OpenAPI, in particular, the opportunity to create different endpoints.

I use it to change the rights on models, and read/write for different use cases.

The only point I need, is to protect my data. I would like de add a filter for each request depending on the model and the endpoint to protect a part of my data.

@yelizariev
Copy link
Collaborator

Hello @JulienDelRio
You add a new user and filter data for them via ir.rule records.

@JulienDelRio
Copy link
Author

wow.
I didn't know.

I will check.

Thanks.

@JulienDelRio
Copy link
Author

That's not a good solution :/
I have to pay 20€/month for a new user just for technical issue :(
And some users could access different apis endpoint with differents filters... that seems not possible.

@yelizariev
Copy link
Collaborator

So, openapi has sort of Access rules, but not a feature similar to ir.rule yet...
You can invest time/money for such a development :-) . It seems useful feature

@JulienDelRio
Copy link
Author

I'll asked for a budget for that... not sure i will have it... but I will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants