fusio icon indicating copy to clipboard operation
fusio copied to clipboard

How to create user owned entities?

Open justspamjustin opened this issue 1 year ago • 1 comments

Hi, I'm wanting to use fusio as the backend for an app that I'm developing. I can see that Fusio has users that can register and log in via the api. However, let's say for example that I'm creating a todo app and I have a table that contains the all the Todo items for every user in my app. But the end user should be restricted to only be able to do CRUD operations on the items with their user id.

How do I accomplish this using fusio? Do I need to write PHP code to get the current userId? Or is there a built-in feature for this use case? Are there any existing samples or documentation about this case?

Thank you!

justspamjustin avatar Jan 15 '24 15:01 justspamjustin