Can I prevent users from updating attachments?

Hi,

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?

Thanks

Thorsten

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? 

Hi,

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
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

132 views 6 8
View post

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