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

Create page action lists template providers for which the user doesn't have view right

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.9
    • Fix Version/s: 9.11, 10.0
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Follow this steps to reproduce:

      • restrict view right on the Templates space for some user
      • login with that user and create a page

      "Article", "Simple Page", etc. templates are still listed in the list of available page types.

      The use case is this: I have an application whose entries can be created anywhere in the wiki and which should be used only by some group. For this I allow view right only for this particular group on the application (code) space and I expect the rest of the users to not see the application template in the create page action.

        Attachments

          Activity

            People

            • Assignee:
              acotiuga Alex Cotiugă
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: