Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to restrict who can use or add a macro to a page?

Alex Yasurek
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 Leaders.
September 26, 2019

I built a custom plugin that I would like to only be accessible to a specific group of users in confluence. Everyone should be allow to view the content it outputs when the page is being viewed, but only a specifc group should be allowed to add it to a page.  

It would be great if I can just have it not show up in the macro browser or macro autocomplete dropdown if you are not in the allowed group. If thats not possible it would be fine to just throw an error if someone tries to add it to a page and they are not in the right permission group. I assume this would require some check while they are configuring the macro but just not sure how to do that.

Anyone done anything similar to this or know of an easier way to go about this?

 

Thanks

 

1 answer

1 accepted

0 votes
Answer accepted
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2019

Hello there! I believe that what you are looking for is a set of permissions for macro usage, @Alex Yasurek.

Currently, this is not natively available for Confluence. We have a feature request that points directly at this. Here, have a look:

Looking through our marketplace I could find a third-party plugin that might address your needs. The plugin name is Macro Security for Confluence. You can take a look at it here:

However, I am not familiar with the ins and outs of the plugin. The description does fit your needs, though.

Let us know if this shed some light on your path, Alex! Looking forward to your reply.

Alex Yasurek
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 Leaders.
September 28, 2019

I did find that same third party macro but the only issue is that it mainly works with other Bob Swift apps. They do give you instructions on how to apply it to custom apps but that would require going through each one, adding code and rebuilding them all. If worse comes to worst that may be our only option but just wondering if anything else was available. 

It would be great if Atlassian offered this natively. I voted for that feature request so hopefully it will be considered.

 

Thanks

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 30, 2019

Hey thanks for keeping the thread alive, @Alex Yasurek !

Also, great to have you taking part in this issue and voting the existing feature. Having the input from different customers on requests like this is always good! Currently, I believe that this is our only option on macro restrictions.

If you ever need assistance again, come share with us.

Helen Gosper February 25, 2021

@Diego is there currently a feature request for this functionality in cloud? I would love to vote for it.

Like Diego likes this
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2021

Hey there @Helen Gosper ! We do have a request for this very functionality in Cloud:

Ability to Restrict Add-ons/Macros to Groups in Confluence

Let us hear from you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events