Assign access to specific items inside a collection rather than the full collection #4634
Sign0ret
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On the collection declaration file, it might be super useful to be able to declare a collection as "modular", and add new access permissions to this modules. With modular I mean, if I want to give permission to one user to only one post and not the full collection. And when the collection is assigned as modular, automatically when generating a new entry to this collection, a field of users at the top should be displayed and you should choose who has access. I know this can be achieved by adding a relation to users and adding different access permisions, but it just would be super easier to just declare a collection as modular. Then on the api/collection request is fetched, only the items inside that collection which has the value of "all" or contains the user id should be added. I love you Payload.
Beta Was this translation helpful? Give feedback.
All reactions