This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-75eac6cd-396e-4a89-a879-73d6c859428e XWIKI-25109 Open

Add automated test for "Override a right at page level"

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ede32f5c-2cc5-4ad1-8c96-43c174166d95 Vincent Massol created this issue on 01/Oct/26 20:51
 
Summary: Add automated test for "Override a right at page level"
Issue Type: cid:jira-generated-image-avatar-75eac6cd-396e-4a89-a879-73d6c859428e Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:51
Labels: testneeded
Priority: cid:jira-generated-image-static-major-c9012843-99ec-461a-bc3f-c0982ecf0eac Major
Reporter: Vincent Massol
Description:

The manual test is here: Override a right at page level

Existing automated coverage

Missing automated coverage

  • Create nested pages a/b/c/d; on d, from Administer Page > Users & Rights > Rights: Page, give View only to XWikiAdminGroup
  • Create terminal child page d/test and, from Edit > Access Rights on it, give View to XWikiAllGroup
  • Create a new user and log in as that user
  • Assert a/b/c/d is not viewable (access denied) and a/b/c/d/test is viewable

Suggested location: xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/UsersGroupsRightsManagementIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).