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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

112 views 0 6
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