API call is not returning blog posts when user is not authenticated

XMLWordPrintable

    • 5
    • Severity 3 - Minor
    • 0

      Issue Summary

      Rest API calls are not returning blog posts when the user is not authenticated.

      Environment

      Steps to Reproduce

      1. Set global permissions to allow anonymous access
      2. Allow anonymous access on a space
      3. Run rest/api/space/<SPACE KEY>/content
        or rest/api/search?cql=type%3Dblogpost%20order%20by%20created%20desc&limit=5&expand=content.version,content.body.export_view,content.history&excerpt=highlight&privacyMode=true
        • User shouldn't be authenticated

      The issue is also reproducible while accessing the blog posts section on UI, the page tree won't be loaded.

      Expected Results

      If the blog posts are accessible anonymously, they should be returned by the API

      Actual Results

      The API calls are not returning blog posts, only pages can be found.

      Notes

      Workaround

            Assignee:
            Unassigned
            Reporter:
            Paula Silveira (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: