¿Can I create and publish a page via subpage builder, while preventing it to be un-published in the future by users?
I am using the subpage builder as is. And when it attempts to run, I get an error:
Status: "error", message: "The status for this page cannot be changed", code: 403, exception: "Kirby\Exception\PermissionException", key: "error.page.changeStatus.permission", ...
This seems to come from the fact that some subpages have changeStatus: false
.
I would expect to be able to create AND publish the pages via subpage-builder, but keep their status locked against future status changes.
The use case is, for example, a fair with several editions. When a page ‘edition’ is created the whole structure of subpages is created with it. These subpages are categories such as, say ‘Exhibitions’ which should never be invisibilized (or deleted), unlike the items below them, say ‘Exhibition’.
This is the blueprint with the builder I am using:
title: Edición
options:
changeTitle: true
changeStatus: true
subpage_builder:
- title: Acerca de
uid: acerca-de
template: acerca-de
num: 1
- title: Sedes
uid: sedes
num: 2
template: sedes
- title: Artistas
uid: artistas
num: 3
template: artistas
- title: Comisiones
uid: comisiones
num: 4
template: comisiones
- title: Exposiciones
uid: exposiciones
num: 5
template: exposiciones
- title: Programa público
uid: programa-publico
num: 6
template: programa-publico
- title: Programa pedagógico
uid: programa-pedagogico
num: 7
template: programa-pedagogico
- title: Información de viaje
uid: informacion-de-viaje
num: 8
template: informacion-de-viaje
- title: Aliados
uid: aliados
num: 9
template: aliados
Thank you