Hey there,
I am new in Jira Sever plugins Development and I am trying to find a way to add new custom global permission when my plugin is installed.
This permission should be applied to all users in this particular Jira Server instance. The reason behind that is I want administrators to be able to restrict some users from using the plugin.
Is that possible?
Is there anything similar for Confluence ?
Hello Kristina,
You can configure a module in JIRA that allows your add-on to define custom global Permissions. Example:
|
{ "modules": { "jiraGlobalPermissions": [ { "description": { "value": "Custom global permission for my add-on" }, "anonymousAllowed": false, "defaultGrants": [ "all" ], "name": { "value": "My Global Permission" }, "key": "my-global-permission" } ] } } |
For more information about that module and how you can configure it, you can check the documentation below:
- Global Permission - Atlassian Developers
Let us know if this information helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.