trilbymedia / grav-plugin-flex-objects

Powerful and supremely flexible object support for Grav
MIT License
38 stars 10 forks source link

Create objects but only (c)rudl these created ones and all related #147

Open IamSAB opened 2 years ago

IamSAB commented 2 years ago

I just read the flex objects docs on grav. Currently I try to find out if the following usecase is achievable:

Is it possible to set permissions on a collection, so that a registered user can create objects, but only read, update and delete created ones. In addition, he should be able to do the same for all objects which are related to the objects he created.

My plan is to port this idea to Grav using flex-objects:

I would like to know, how much effort it takes, what are the most important things to consider and main steps I should take. The docs are good but don't show how and if the above idea is realizable. This question is to get the missings parts of the docs concerning my use case.

Thank you

mahagr commented 2 years ago

Yes, it's already working on pages, but for the other objects, you need to add logic to support this.