mattermost/mattermost-plugin-gitlab
Auf GitHub ansehenSupport config variable to disable project access check for incoming webhook event
Open
#463 geöffnet am 17. Feb. 2024
Good First IssueHelp WantedType/EnhancementUp For Grabs
Repository-Metriken
- Stars
- (151 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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