Hi everyone,
I have a case where admins (access to everything) can set an owner on clients pages. Each client shoulb be able to edit his own page and only this one.
Actually my user blueprint look like this:
title: Fournisseur
home: /panel/account
permissions:
access:
panel: true
site: false
settings: false
users: false
languages: false
system: false
fields:
fiches:
type: pages
label: Votre fiche
query: kirby.collection('fournisseurs')
multiple: false
So each client can log into panel and view his own account which shows the page he must be able to edit. But now since i have set the site permission to false, this user can’t go to his own page and edit it.
Any clue on how to achieve it ? Do i need to use hooks for this ? I’m liking the fact that these users can only see their own page.
Thanks