Forums

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

Atlassian Connect Express - Get permissions of user making request

Snæbjörn Þórir Eyjólfsson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2018

Hi,

I'm looking for best practises to implement role based authorization in addon endpoints. I'm using JWT authentication which gives me access to the userId of the user making the request, but no information about the user's JIRA permissions.

 

Is it possible to configure the JWT authentication to include user scope in the token, or do I need to look up the user's permissions for each request?

0 answers

Suggest an answer

Log in or Sign up to answer