It would be great if GitHub Apps could have “optional” permissions. If its helpful as a reference, Google’s Chrome Extension Platform offers optional permissions and a workflow for prompting users to grant them.
Here’s the use case: my GitHub App does not get access to code by default. But for certain advanced features, it requires code access. It would be great if users could enable code read access when opting into advanced features vs granting that access when they are first trying out the app.