Skip to content
Snippets Groups Projects
Commit c14aa1c4 authored by Andy Shultz's avatar Andy Shultz
Browse files

feat: only use anonymous user if there is no other choice

Sometimes we need to load the block. Current code always rebinds the
block to the anonymous user because we might not have a user.

But in many cases we do have a user and may have already loaded and
bound the block in question. Check for user and request and if the
block is already bound and just use that block if possible or at least
load the block with the user you actually have.
parent 59d2fb7f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment