mattermost/mattermost-plugin-gitlab
Voir sur GitHubSupport config variable to disable project access check for incoming webhook event
Open
#463 ouverte le 17 févr. 2024
Good First IssueHelp WantedType/EnhancementUp For Grabs
Métriques du dépôt
- Stars
- (151 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
At the moment, we ensure a given user has read access to a project when:
- the user creates a subscription
- a webhook event comes in to be processed with the subscriptions
There are some issues going on with revoked tokens, causing existing subscriptions to not work in the second case. https://github.com/mattermost/mattermost-plugin-gitlab/issues/411#issuecomment-1927033155
The task here is to implement a plugin config variable "Enable Webhook Project Access Check", which will default to true. When this value is false, we will skip the project access check when we receive a webhook event