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

Required rights don't restrict edit rights

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 16.10.0
    • 16.10.0-rc-1
    • Security
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to Reproduce:

      1. On a document, enable required rights and enforce script right.
      2. Try editing the document as a user without script right.

      Expected result:

      Editing isn't possible as right is denied.

      Actual result:

      Editing is possible.

      This happened due to a bad merge in https://github.com/xwiki/xwiki-platform/commit/5f98bde87288326cf5787604e2bb87836875ed0e#diff-4b512565969c065fc1d2a844b43326e0c41d76cb31084bcb012e1f0219d17b97L164 and wasn't detected by automated tests as there were none.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: