mattermost / mattermost/mattermost-plugin-github
Only channel admins should be able to create subscription
Open
@raghavaggarwal2308 is already working on this.
Since Nov 4, 2024.
Difficulty/1:Easy
Good First Issue
Hacktoberfest
Help Wanted
Tech/Go
Type/Enhancement
Up For Grabs
- Dominant language
- Go
- Stars
- 179
- Forks
- 180
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 13
Description
At the moment, any user can create/edit/delete GitHub subscriptions. This functionality should be limited to users with permission to manage the given channel. The following cases should allow a user to edit subscriptions:
- The channel is a private channel and the user has
PERMISSION_MANAGE_PRIVATE_CHANNEL_PROPERTIESfor this channel - The channel is a public channel and the user has
PERMISSION_MANAGE_PUBLIC_CHANNEL_PROPERTIESfor this channel - The channel is a direct message (DM)
- The channel is a group message (GM)
Issue created from a Mattermost message by @hanzei.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.