Security level in my custom plugin Edited

  Can you tell me how to make such a change in the code in my custom plugin that only users from one particular group can use this add-on?

3 answers

This widget could not be displayed.
Alexey Matveev Community Champion Dec 28, 2017


Find the entry point in your plugin and put there condition on user groups.

This widget could not be displayed.

You cannot add some "security level" for entire add-on. Because add-on is a set of pages, JQL functions, gadgets and so on.

You should add permission check for each module:

  • For "webworks" (pages) you can use "roles-required" attribute
  • For gadgets you should check user permission ot group programmatically
  • etc.
This widget could not be displayed.
Daniel Wester Community Champion Dec 30, 2017

Take a look at SALs usermanager - it’s probably got the easiest api for this. But you’ll have to do it programmatically.


Youll probably also want to ask these types of questions of at

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

81 views 1 0
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