The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

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

Paul LaBarbera Jr.
August 8, 2016

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Maggie Modersohn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 8, 2016

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

Paul LaBarbera Jr.
August 8, 2016

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

0 votes
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 9, 2016

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.

TAGS
AUG Leaders

Atlassian Community Events