Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hi I created a quiz and I need to allow people to add additional content in the form of pictures to their answers. The answer box doesn't allow this directly so I have tried to add the attachment macro on the answer page. The problem is that when another user takes the quiz, they can see the attachments from the previous user.

Is there a way that I can restrict the access of users to only see their own attachments or even make it so only specific user groups can see attachments on a specific page? 

2 answers

1 accepted

As far as I know you cannot set permissions on attachments in Confluence. They inherit the same access as your page has. 

And that means - anyone who can access your page can see the page's attachments.

In our app we have a way to "enable secure storage", what that actually means is we create a separate (sub) page, restricted to current user, for the attachments the user uploads (within our form).

Sounds like an overkill, but we have not found any better solution for this

I agree, definitely seems like overkill but after hours of research I can't seem to find much better solution either.
So I'm guessing that for the creation of new user macros there is no way to reference "current user" or specify group access? I have seen these parameters available in existing macros but cannot find how to create such parameters in user macros...?

You can get the current user in a user macro,



The currently authenticated user, or null if anonymous user.

Or you mean to have a macro parameter that does a lookup for you in users/security groups? No, this is not something built-in - limited set of parameter types is supported in user macros

Like Kyle Drummond likes this

i want to convert word file to PDF personal use only and then to PDF to WORD

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,635 views 7 30
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you