Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Chris Speakman 11 posts 124 karma points
    Jun 16, 2021 @ 11:33
    Chris Speakman

    Blocklist live previews and backoffice users with reduced access

    I've recently run into a hitch while developing live content previews for the blocklist editor, specifically when I am fetching content such as images using the mediaResource or entityResource from the backoffice API.

    I broadly followed the example in the Blocklist editor deep dive article and this works fine for most users but for anyone setup as a Writer it kicks them out of the backoffice with a 401 unauthorised error whenever they try to edit the page containing that blocklist editor.

    I had a similar experience fetching a list of content types from the contentResource which even booted out users setup as Editors!

    I feel sure there must be a way around this otherwise lots of other plugins/packages would be failing for users with lower privileges.



Please Sign in or register to post replies

Write your reply to: