itpp-labs/sync-addons

openapi: Add a filter on base request

JulienDelRio opened this issue · 5 comments

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.

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

wow.
I didn't know.

I will check.

Thanks.

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.

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

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