mattermost / mattermost/mattermost-plugin-github
Create GitHub Issue does not respect organization lock
@raghavaggarwal2308 is already working on this.
Since Dec 19, 2024.
- Dominant language
- Go
- Stars
- 179
- Forks
- 180
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 13
Description
When the GitHub plugin is configured to be locked to an organization, this is not reflected in the create functionality. Users are still able to create issues in repos where they are owner, collaborators etc...
When the Organization is locked in the config, create should only allow connected users to create issues in this organization regardless of their individual permissions and memberships. This is already the case with the attach functionality.
Steps
- Lock the plugin to 1 Organization
- Connect as a user with permissions to create issues in multiple organizations
- Create a Github issue from a post
**Observed** Multiple orgs can be returned in the modal and the issue created
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.