mattermost-plugin-gitlab
mattermost-plugin-gitlab copied to clipboard
[MM-454] Fix Invalid message while creating subscription for a project with no access to create webhook
Summary
- Users we not able to create subscription for a project in which they did not had access to create webhook.
- Updated the code to post a message in the above case instead preventing the user from creating subscription.
Screenshots:
What to test?
- Getting proper messages while creating subscription for a project with no access to create webhook.
How to test?
- Connect your Gitlab account
- Try to create a subscrition for a project with no access to create subscription
Ticket Link
Fixes #454 Fixes #509