Hello,
I have an event listener that intercepts and processes IssueEvent. I need to determine if the created or updated issue can be viewed by any logged in user. My question consists of two parts if my assumption about PermissionManager is correct - does ProjectPermissions.BROWSE_PROJECTS
indicate that the project’s Issue is also viewable and does ApplicationUser
represent any logged in user when set to null?
permissionManager.hasPermission(ProjectPermissions.BROWSE_PROJECTS, issue, null);
Specifically, I am interested in determining if an issue contains “Application Access - Any logged in user” permission. Any pointers would be highly appreciated.
My add-on targets version 7.6.4
Thank you.