This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-77807e72-eada-4f3d-ba78-056bef3c4a39 XWIKI-23700 Open

Creating a page from a template doesn't copy required rights

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-35c26d7e-e408-4b94-b0c8-b6b15e024a28 Michael Hamann created this issue on 07/Nov/25 16:16
 
Summary: Creating a page from a template doesn't copy required rights
Issue Type: cid:jira-generated-image-avatar-77807e72-eada-4f3d-ba78-056bef3c4a39 Bug
Affects Versions: 16.10.0
Assignee: Unassigned
Components: Old Core
Created: 07/Nov/25 16:16
Priority: cid:jira-generated-image-static-major-da1ea526-435f-434c-b42a-64f1260c506b Major
Reporter: Michael Hamann
Description:

Steps to reproduce:

  1. Enforce required rights on a template, e.g., going to /xwiki/bin/view/Templates/Meeting/Template/?viewer=information and clicking on "Review required rights" and enable enforcing.
  2. Create a new page from that template and save it.

Expected result:

Required rights are enforced on the new page.

Actual result:

Required rights aren't enforced.

While it can be debated if required rights should be enforced for all new pages created from templates, I think this isn't debatable if the template contains scripts and enforces script right for example. In this case, we also shouldn't offer such a template to users without script right.