Is there any way to restrict the HTML macro to only system administrators?

This question is in reference to Atlassian Documentation: HTML Macro

I want to use the HTML macro to do some customization on Confluence pages, but I'd like this macro to be restricted to only system administrators. I know some macros can be restricted by user rights. Can this macro be restricted?

2 answers

1 accepted

2 votes
Accepted answer

Hey Paul

I don't think you can. You could create a user macro (the safer way to use the HTML macro anyway, if you ask me) and make that a hidden macro (not accessible through the macro browser). Make sure you only communicate the name of the hidden macro to admins, not other users. 

I hope this helps!



Thanks Maggie! Good to hear from you again. Hope things are well.

You can use a replacement HTML Macro from HTML for Confluence. This macro can be secured using Macro Security for Confluence. Configure security so only system administrators can produce content that uses the html macro.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,115 views 59 8
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