Can I prevent users from updating attachments?


I am working in a regulated environment where I have to prevent unnoticed changes to Confluence pages. If I use an attached image in a page and the page has been officially approved, it must not be possible to change the content of the page by updating the attachment. 

Can I prevent updates to attachments through the permission scheme?

Or can I write a Java plugin that hooks into the upload process and cancels it if an attachment with the same name is already present? If yes, how?



1 answer

0 votes

Hey Tuelle, 

Why don't you just remove edit permissions when a page is done? And only leave the view permission for everyone? 


I still want some people to have the edit option for the page content. I am writing a macro for an approval process in a regulated environment.  When a certain version of the attachment is approved and displayed in the page as approved, it may not be possible to replace the attachment while pretending to remain approved. So I need a unique attachment identifier for each attachment and version.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Agile

Are you a Jira Service Desk agent? We want to talk to you!

Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...

52 views 0 2
Read article

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