mattermost / mattermost-plugin-gitlab

GitLab plugin for Mattermost
Apache License 2.0
137 stars 83 forks source link

[1.9.1] Unable to subscribe to groups or subgroups #517

Open breca opened 1 month ago

breca commented 1 month ago

We've only recently starting using the integrated Mattermost (9.6.2) from our Gitlab instance (16.11.0). I've added your plugin (1.9.1) and we think it's great, thanks for your work.

I seem to be hitting an issue where I'm unable to subscribe channels to top-level groups or subgroups - this returns a You don't have the permissions to create subscriptions for this project error.

2024-08-12_02:48:11.99884 {"timestamp":"2024-08-12 12:48:11.998 +10:00","level":"warn","msg":"Can't get project in webhook","caller":"app/plugin_api.go:1006","plugin_id":"com.github.manland.mattermost-plugin-gitlab","err":"not found","project":"containers/agile/"}
2024-08-12_02:48:11.99927 {"timestamp":"2024-08-12 12:48:11.998 +10:00","level":"warn","msg":"You don't have the permissions to create subscriptions for this project.","caller":"app/plugin_api.go:1006","plugin_id":"com.github.manland.mattermost-plugin-gitlab"}

I am the owner of both groups and subgroups - subscribing to individual projects under that scope seems to be working fine, so I suspect some sort of lookup issue here?

Edit: Corrected version from 1.6.1 to 1.9.1

Kshitij-Katiyar commented 3 weeks ago

@breca Can you please confirm the plugin release version you are using here you have mentioned 1.6.1. But the latest is 1.9.1, can you please use the latest release and let us know if you are still facing the issue? Can you also please share the command you are using to subscribe to the group.

breca commented 2 weeks ago

Hi, yes sorry, typo.