Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
7.2-rc-1
-
Unknown
-
N/A
-
N/A
-
Description
Short version:
The 'Administer Page' - 'Page Rights' UI doesn't work. If you want to set right at the page level, you need to write in the URL ?editor=rights.
Long version:
Scenario: (PE5) As a wiki user, I can set the permissions defined on a document to override any inherited permissions from parent documents so that I have explicit control over who can access or modify the document
Create hierarchy: A / B / C
Groups:
- XWikiAllGroup: Admin, evalica
- SelectedGroup: evalica
Test Case 1: FAIL
1.1 As Admin, go to A.WebPreferences, from 'Rights' and set VIEW = DENY for group SelectedGroup -> this will deny the view for A and its children;
1.2 As Admin, go to A.WebPreferences, from 'Page Rights' set VIEW = ALLOW for group SelectedGroup
– Expected: SelectedGroup should see A.WebHome, but not B, C children
– Actual: FAIL, the 'You are not allowed to view this page or perform this action.' appears
Test Case 2: SUCCESS
1.1 - same as above
2.1 - from URL go to '/xwiki/bin/edit/A/WebHome?editor=rights'. Give VIEW=ALLOW for group SelectedGroup
– Expected: SUCCESS, the SelectedGroup should see A.WebHome, but not B, C children
Attachments
Issue Links
- relates to
-
XWIKI-12219 Remove "edit rights" at page level and add a section in the space administration to edit WebHome's rights
- Closed
-
XWIKI-12497 Create a specific "Page Administration" instead of reusing the Wiki/Space Admin UI
- Open