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

Viewing a deleted document as guest redirects to login

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 9.8-rc-1
    • 9.7
    • Old Core
    • None
    • Easy
    • N/A
    • N/A

    Description

      Since guests can otherwise view non-existing documents and documents in general, this behavior is unexpected. The cause is the wrong usage of `checkAccess` instead of `hasAccess` in `c.x.x.api.DeletedDocument#canDelete`.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: