mattermost-plugin-gitlab icon indicating copy to clipboard operation
mattermost-plugin-gitlab copied to clipboard

[1.9.1] Unable to subscribe to groups or subgroups

Open breca opened this issue 1 year ago • 2 comments

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

breca avatar Aug 12 '24 03:08 breca

@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.

Kshitij-Katiyar avatar Aug 20 '24 07:08 Kshitij-Katiyar

Hi, yes sorry, typo.

breca avatar Aug 26 '24 04:08 breca