How to fix user error with blog posts macro

This question is in reference to Atlassian Documentation: Blog Posts Macro

When I add the macro to a Wiki page it gives me the following error:

Error rendering macro 'blog-posts' : com.atlassian.confluence.user.AuthenticatedUserThreadLocal.get()Lcom/atlassian/confluence/user/ConfluenceUser;

I have full permission rights both as an Individual and a Group (for both the Wiki Space Admin and another Group I've given permission to). I am able to add blog entries and view them, but I cannot get the blog-list macro to work. Please help! smile

1 answer

This widget could not be displayed.


It could be some isssues. Have a look at  this



        // check whether the user has access rights to the page
        ConfluenceUser confluenceUser = AuthenticatedUserThreadLocal.get();
        if(!permissionManager.hasPermission(confluenceUser, Permission.VIEW, ceo)) {
            return "svg-out: Sorry, you do not have proper access rights to the page where the image is attached to!";

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

406 views 4 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you