I have installed a new starterkit 2.3.2, then changed the kirby and panel directory with the downloaded zip’s with “Kirby 2.4.0 beta 2”.
Then I have added two “Project” pages to be able to play with it in the panel.
In the file
site/roles/editor.php I have added:
'panel.page.sort' => false,
1.) If a user with this role enters the following panel page,
he/she can sort the subpages “
Project A” to “
Project D” per “Drag and Drop”.
2.) If a user with this role enters the following panel page,
he/she can change the position of the subpage
Project Cafter a click at “
Status: visible” in the following dialog.
@bastianallgeier, I don’t know, what you want to implement here.
Only for a test: I have tried to use
panel.page.visibility' => false,
instead to hide the way at “1.)”, but it does not work for me to avoid sorting. This hides only the way at “2.)”.
Hint: This last test also deletes the permission to change the visibility of a page, what is ok.