Anonymous users are unable to upload attachments on a page

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      Even if the anonymous user has add/delete page and add/delete attachment permissions they are not able to attach files to a page.

      Environment

      Confluence 1000.1475.2

      Steps to Reproduce

      1. Allow Anonymous users create a page and add attachment permissions to space.
      2. Log out and access the space as an anonymous user
      3. Try inserting attachments by:
        • Drag and drop files
        • Click Insert > Files and Images

      Expected Results

      Attachments are uploaded

      Actual Results

      Error message is displayed:
      Error connecting to server

      Browser Console error

      batch.js?locale=en-GB:111 AJS's create element functionality has been deprecated since 5.9.0.
      No alternative will be provided.
      Use document.createElement() or jQuery.parseHTML(), or preferably use a templating library.
      a.default @ batch.js?locale=en-GB:111
      a @ batch.js?locale=en-GB:467
      b @ batch.js?locale=en-GB:787
      show @ batch.js?locale=en-GB:788
      f.show @ batch.js?locale=en-GB:804
      show @ batch.js?acjsFiveVersionEnabled=true&anonymous-access-enabled=true&build-number=6452&locale=en-GB:2496
      (anonymous) @ batch.js?acjsFiveVersionEnabled=true&anonymous-access-enabled=true&build-number=6452&locale=en-GB:2515
      d @ jquery-min.js:1
      fireWith @ jquery-min.js:1
      fire @ jquery-min.js:1
      (anonymous) @ batch.js?acjsFiveVersionEnabled=true&anonymous-access-enabled=true&build-number=6452&locale=en-GB:2475
      d @ jquery-min.js:1
      fireWith @ jquery-min.js:1
      r @ jquery-min.js:3
      r @ jquery-min.js:3

      Browser Console (network) error

      Request URL:https://instance.atlassian.net/wiki/rest/drag-and-drop/1/filestore/upload/validate
      Request Method:POST
      Status Code:401 
      Remote Address:104.192.141.34:443
      Referrer Policy:no-referrer-when-downgrade
      Response Headers
      cache-control:no-transform
      content-length:174
      content-type:application/xml
      date:Fri, 09 Jun 2017 12:07:09 GMT
      server:nginx
      status:401
      vary:Accept
      www-authenticate:OAuth realm="https%3A%2F%2Fminicooper.atlassian.net%2Fwiki"
      x-content-type-options:nosniff

       

            Assignee:
            Unassigned
            Reporter:
            Janice Alor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: