Hi there,
The user role “editor” is only allowed to create subpages with the template “test”.
How can I make sure that the user can’t create top-level pages? Only the subpages (within “test”) are allowed.
Is this achievable through blueprints?
Hi there,
The user role “editor” is only allowed to create subpages with the template “test”.
How can I make sure that the user can’t create top-level pages? Only the subpages (within “test”) are allowed.
Is this achievable through blueprints?
With a combination of two things:
create
option in the page blueprints, you can control which user roles can create pages of the respective template. If you only want to allow the creation of pages with a specific template, you can disable the option for all other templates.template
option of the pages section(s). This will control your general content structure and therefore apply to all users.@lukasbestle
And what if I want user role “admin” to be able to create any page, wherever.
The user role “editor” can only create page with template “test”…
How would you approach this?
You can achieve this with the create
option I linked to above. If you disable that in all blueprints except test
, the user will only be able to create pages with that template.
@lukasbestle Ok, i think it works, what confused me is: the “add” button on the top right (besides “Pages” title) is still shown. Even though the user isn’t allowed to add any page.
So it looks like he can but he will be blocked at a later step with the alert “No rights to create page…”
Am I correct?
You are right, the user interface is currently not taking this option into account. But the backend will enforce it. I have added the UI issue to our internal todo list.
Good work! And thanks for the quick replies