Hi,
I have a page type called “alert”. alerts show up on related pages. alert has a pages field called “related” where the editor can select the related pages.
i have seperate user roles and a certain role should only be able to see, edit and set alerts for a certain subset of pages.
User A should only be able to create, edit and see alerts that have page A or a child of A (or grandChild of A) within their related field.
I would like to keep alerts as a global entity and not create seperate kinds of alerts.
I have already implemented role specific blueprints as a plugin.
I am still pretty new to Kirby so i was wondering what would be a Kirby Best Practise to tackle this concept.
Thanks for any help, hints or code snippets.