I’m using Atlassian connect express. In a webhook callback I try to get the permissions of a app user, that just assigned an issue. I use:
/rest/api/3/mypermissions?permissions=ASSIGN_ISSUES
This works for all users, but other app users get a message:
"{"error": "Add-on 'Addon' disallowed to impersonate the user because 'no valid active user exists'"}"
How can I get the permissions of an app user in an app?