mattermost/mattermost-plugin-gitlab
GitHub で見るSupport config variable to disable project access check for incoming webhook event
Open
#463 opened on 2024年2月17日
Good First IssueHelp WantedType/EnhancementUp For Grabs
Repository metrics
- Stars
- (151 stars)
- PR merge metrics
- (PR metrics pending)
説明
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