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

Add CRUD entry points for "full" resources #206

Open
mbarto opened this issue Feb 28, 2020 · 0 comments
Open

Add CRUD entry points for "full" resources #206

mbarto opened this issue Feb 28, 2020 · 0 comments

Comments

@mbarto
Copy link
Contributor

mbarto commented Feb 28, 2020

Some actions that should be execute as one transaction are currently not possible. Usually when we handle a resource, we have also to handle permissions, categories and linked resources.
We need CRUD actions to do this in a single transaction.

Create:

  • create category if missing
  • create the resource
  • set the resource permissions
  • create linked resources recursively (with their permissions and categories)

Read:

  • get the resource with its permissions and the linked resources

Update:

  • update the resource
  • set the resource permissions
  • update linked resources recursively (with their permissions)

Delete:

  • delete the resource
  • dekete linked resources recursively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant