Skip to content

Insufficient Permission errors from Github are poorly propagated to the client #213

@timperrett

Description

@timperrett

In the event a user does not have admin privileges on a repo, they cannot enable the webhook Nelson needs. At present the user experience for this is kind of terrible, as we do not handle these 401 responses from Github in such a way that allows us to send an informative message back to users.

Unable to enable project company/name-of-repo. Response was:
{"message":"An internal error occurred"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions