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

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

Open
IamSAB opened this issue Sep 26, 2021 · 1 comment
Open

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

IamSAB opened this issue Sep 26, 2021 · 1 comment
Labels
enhancement Enhancement for an existing feature

Comments

@IamSAB
Copy link

IamSAB commented Sep 26, 2021

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:

  • sync contacts via caldav from addressbook (using custom storage and formatter)
  • let families register and update their contacts (parents and children)

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
Copy link
Contributor

mahagr commented Nov 4, 2021

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

@mahagr mahagr added the enhancement Enhancement for an existing feature label Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement for an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants