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

Fix 'Rename' page feature for document creators

    XMLWordPrintable

Details

    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: