I’m trying to find out how to fetch user permissions for a specific repository. For OAuth apps, the user permissions are part of the response for the get repo (
For GitHub Apps, I imagine that that endpoint is accessible authenticating on behalf of the installation, but if that’s the case, there is no user context. Is this correct? How can I fetch the permissions for a user on a specific repo?