Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12576

'Administer Page' - 'Page Rights' UI is not setting the rights

    XMLWordPrintable

Details

    • 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

          Activity

            People

              gdelhumeau Guillaume Delhumeau
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 30 minutes
                  3h 30m