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

Simple users can not create a terminal page from URL

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      1. Log in with a simple user or make sure that you mark your current user as "Simple" in the user profile.
      2. Use the following URL to try to create a terminal page: http://localhost:8080/xwiki/bin/create/Main/?spaceReference=Space1.Space2&template=&tocreate=terminal
      3. Fill in a page title (e.g. "AAA")
      4. You will be redirected to the following URL, in edit mode: http://localhost:8080/xwiki/bin/edit/Space1/Space2/AAA/WebHome?template=&parent=Main.WebHome&title=AAA

      This means that, instead of creating the Space1.Space2.AAA terminal page, as intended by the create URL, you will be creating the non-terminal page Space1.Space2.AAA.WebHome.

      This scenario can come from an application that generates /create/ URLs and wants to create terminal pages.

      This also affects the backwards compatibility mode, for URLs using the deprecated space parameter, e.g. http://localhost:8080/xwiki/bin/create/Main/?space=Space1&template=

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: