sudo & permissions inheritance

Hi David - 

Does the Sudo for JIRA plugin override any permissions restrictions imposed on the user you're sudoed into doing the work?

For example:

  • Jane Smith doesn't have permissions to the "Resolve Issue" transition in JIRA
  • Admin User is an administrator with permissions to use the "Resolve Issue" transition.
  • An API call is made by Admin User sudo-ed as Jane Smith to perform the "Resolve Issue" transition.

Would this transition actually work, inheriting permissions from Admin User, or would a permissions error result from this call?

Regards,
Matt

1 answer

1 accepted

This widget could not be displayed.

Hi Matt-

Great question!  Behind the scenes the plugin fully switches to the sudoed user, so in this case once you sudo to Jane Smith you will would receive a permissions error if Jane is unable to make that transition.

 

Thanks!

David

Thanks for the clarification.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

455 views 3 17
Read article

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