Forums

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

Conflicting Permissions

Nathan Fletcher January 11, 2016

Can anyone tell me how JIRA resolves conflicting permissions?  E.g. Project/Global permissions are set that individuals within a specific role can close all issues, however a workflow transition has a condition that says only Administrators can execute this transition, which happens to be 'Close Issue'.  Which permission takes precedence, the project/global or the transition condition?

Windows has a 'most restrictive permission applies' rule when there are conflicting share and NTFS permission, I'm just curious to know how JIRA operates.

2 answers

1 vote
Nic Brough -Adaptavist-
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.
January 11, 2016

They're not really conflicting permissions in JIRA speak - a Condition is not a permission, it's a rule to allow/prevent something (they can be based on permissions)

Some permissions in JIRA are actually a bit of a hangover from very old versions where you didn't have "conditions".  The best example of this is "Close issue" - in very old JIRAs, this really did mean it, the close transition had a hard-coded "you can only use this if you have close permission".  When the workflows were made more flexible, it got binned, and you now have to have a specific condition added to the workflow to implement that.

This does mean that there isn't really a "conflict" - it's a single rule based on a permission, rather than a permission and a rule.  If you do think of them separately, then it's the Condition that matters in this case, because it says "only admins".  But you could change that to "only admins, or people with close permission".  Or if you wanted to be really odd (and probably useless) do something like "people with edit permission".  Or (more usefully), "people with create issue permissions".

 

0 votes
Nathan Fletcher January 11, 2016

Thanks Nic.

Suggest an answer

Log in or Sign up to answer