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

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

    XMLWordPrintable

Details

    • Unknown

    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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: