Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow GitLab connections without hook permissions #567

Merged
merged 4 commits into from
Nov 8, 2022

Conversation

AndrewFerr
Copy link
Member

Warn instead of fail when connecting a GitLab project that Hookshot cannot provision a webhook for.


This also updates documentation to explain that "Maintainer" or higher permissions are required on a GitLab project for Hookshot to be able to add a webhook to it.

The warning appears for both hookshot gitlab project <url> and the widget:
Screenshot from 2022-11-04 11-38-31

Warn instead of fail when connecting a GitLab project that Hookshot
cannot provision a webhook for.
@AndrewFerr AndrewFerr requested a review from a team as a code owner November 4, 2022 15:59
@AndrewFerr AndrewFerr self-assigned this Nov 4, 2022
@AndrewFerr
Copy link
Member Author

Fixes #545

@AndrewFerr AndrewFerr added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements. GitLab Involves the GitLab service S-Minor Impairs non-critical functionality or suitable workarounds exist Widgets / Provisioning Involves the widgets / provisioning subsystem javascript Pull requests that update Javascript code T-Documentation Improvements or additions to documentation labels Nov 4, 2022
web/components/elements/ErrorPane.tsx Outdated Show resolved Hide resolved
web/components/elements/ErrorPane.module.scss Outdated Show resolved Hide resolved
@AndrewFerr AndrewFerr requested a review from Half-Shot November 7, 2022 15:42
Copy link
Contributor

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smashing!

@AndrewFerr AndrewFerr merged commit db8221b into main Nov 8, 2022
@AndrewFerr AndrewFerr deleted the af/gitlab-webhook-warning branch November 8, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitLab Involves the GitLab service javascript Pull requests that update Javascript code S-Minor Impairs non-critical functionality or suitable workarounds exist T-Documentation Improvements or additions to documentation T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements. Widgets / Provisioning Involves the widgets / provisioning subsystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants