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

Fix 'Rename' page feature for document creators

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6 RC1
    • Fix Version/s: 3.1 M1, 2.7.2, 3.0.1
    • Component/s: Authentication
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Since XWIKI-3398 , Rename checks for delete rights.
      For document creators
      $xwiki.hasAccessLevel('delete') returns 'false' (used by rename.vm)
      and
      $xwiki.checkAccess($doc.fullName, 'delete') returns 'true' (used by menuview.vm).

      Normally document creators have 'delete' right and should be able to rename the page, especially since they can delete it.

      Selecting 'rename' retuns 'You are not allowed to view this document or perform this action.'

        Attachments

        1. rename.png
          16 kB
          Ecaterina Moraru (Valica)

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: