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!

Cheers, 

Maggie

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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,084 views 17 14
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