I'm writing a groovy script (using the script runner plugin) and want to determine if a particular user can view an issue.
I was just wondering if there was a simple API to figure this out. Crucially, it needs to take issue level security into consideration - this isn't something I can see in the permissionManager API (which appears to be project-based only).
Thanks