DIfferent permissions between same user between browser and rest api

Marco Siviero April 2, 2020

the two scenarios are, visiting the url: 

https://jobrapido.atlassian.net/rest/api/3/mypermissions?permissions=BROWSE_PROJECTS

Visiting with my authenticated user, using the browser (chrome) I get:

{
"permissions": {
"BROWSE_PROJECTS": {
"id": "10",
"key": "BROWSE_PROJECTS",
"name": "Sfoglia progetti",
"type": "PROJECT",
"description": "Possibilità di sfogliare i progetti e i ticket al loro interno.",
"havePermission": true
}
}
}

While doing the same request, via curl, using basic authentication (suppling a token as password and, the same user) I get:

{
"permissions": {
"BROWSE_PROJECTS": {
"id": "10",
"key": "BROWSE_PROJECTS",
"name": "Browse Projects",
"type": "PROJECT",
"description": "Ability to browse projects and the issues within them.",
"havePermission": false
}
}
}

I don't get the difference, as the user is the same 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events