Add project permission entity.

jost March 31, 2015

Hi,

I'm trying to develop permission manager to JIRA plugin.

My permission manager should work exactly like OOTB project permission manager. So I wonder if it is possible to just add project permission entity (like " Create Issues" or  "Administer Projects") to all schemes?

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2015

The question I'd ask is "why?".  What are you trying to achieve here?

The permissions in JIRA are heavily wired into the core of JIRA, and you can't just add arbitrary permissions easily.  Certainly not in an addon, you need to mess with core files to add the permission.

Although you'd be able to use a new one in workflows (don't bother, you're better off using roles as they're intended), it won't do anything in the rest of JIRA unless you specifically change the core for it, or you use it in an addon (but if you're going to use it in an addon, why bother when you could just write the permission logic in the addon, and not mess with the core of JIRA)

Suggest an answer

Log in or Sign up to answer