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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

292 views 11 10
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