I have a requirement to add a user role to Kirby which allows no editing at all, except content of the type “note” (taking the starterkit as example, Kirby v3.5.7.1)
I have set this up as follows:
Role isn’t allowed to anything but read content in panel:
# /site/blueprints/roles/editor.yml
title: Editor
permissions:
site:
update: false
pages:
*: false
preview: true
read: true
users: false
user:
changeRole: false
Adjusted the note blueprint; added the following:
options:
create:
editor: true
update:
editor: true
delete:
editor: true
duplicate:
editor: true
changeStatus:
editor: true
changeTitle:
editor: true
sort:
editor: true
This works, but has 1 issue I can’t seem to solve. On the “notes” blueprint, there are pages sections defined where a “note” can be added. But I can’t get the “Add” button to appear for the editor role. This means editors can only administer existing “note” content, but they can’t add a new “note”. Is this expected? If not, how can I work around this?
Thx!