mattermost/mattermost-plugin-gitlab

Support config variable to disable project access check for incoming webhook event

Open

#463 创建于 2024年2月17日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)JavaScript (95 fork)auto 404
Good First IssueHelp WantedType/EnhancementUp For Grabs

仓库指标

Star
 (151 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南