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