Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You don't have the permissions to create subscriptions for this project #493

Closed
alekseyp opened this issue May 7, 2024 · 5 comments · Fixed by #495
Closed

You don't have the permissions to create subscriptions for this project #493

alekseyp opened this issue May 7, 2024 · 5 comments · Fixed by #495

Comments

@alekseyp
Copy link

alekseyp commented May 7, 2024

Hello,

Plugin version: GitLab version: 1.9.0, 191a11a, built Fri, 19 Apr 2024 17:24:08 UTC with go1.21.9

I'm the owner of the group and I'm the owner of the project.

When I'm subscribing to a group or a project I'm getting: You don't have the permissions to create subscriptions for this project

Here is the log:

==> current <==
2024-05-07_19:58:19.29204 {"timestamp":"2024-05-07 19:58:19.291 Z","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"}

Here is the list of commands I've tried with the same error message.

/gitlab subscriptions add group
/gitlab subscriptions add group/project
/gitlab subscriptions add group/project issues,confidential_issues,merges,tag
/gitlab subscriptions add group/project issues,merges,tag
@alekseyp
Copy link
Author

alekseyp commented May 7, 2024

Looks like the bug was introduced in 1.9.0, since it's been a week with no notifications even on subscribed channels for us.

For anyone looking for a temp fix:

  • reupload the 1.8.1 plugin
  • re-save "Enable Private Repositories" setting.

@apollo13
Copy link
Contributor

I have the same issue, the workaround works. Thank you!

@LotusMoves
Copy link

i can confirm this is broken this appears to be what broke it I am unsure how to test it locally 54a9c46

@mickmister
Copy link
Contributor

Thanks all. We'll be releasing a fix for this shortly. Will follow up here with me more info as it comes. Thanks so much

@github-project-automation github-project-automation bot moved this from Submitted / In Review to Done in Brightscout Plugin Maintenance May 17, 2024
@mickmister
Copy link
Contributor

A release with the fix is available here https://github.com/mattermost/mattermost-plugin-gitlab/releases/tag/v1.9.1, and will be in the marketplace early next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
4 participants