Skip to content

Add Channel Access Control plugin for Mattermost - #1487

Closed
gluckdev wants to merge 2 commits into
mattermost:masterfrom
gluckdev:claude/mattermost-plugin-development-01KLx8PCEJW5ngYj1EWBKcdi
Closed

Add Channel Access Control plugin for Mattermost#1487
gluckdev wants to merge 2 commits into
mattermost:masterfrom
gluckdev:claude/mattermost-plugin-development-01KLx8PCEJW5ngYj1EWBKcdi

Conversation

@gluckdev

Copy link
Copy Markdown

Created a complete Mattermost plugin that restricts channel posting access based on user whitelists.

Features:

  • Server-side hook (MessageWillBePosted) to intercept and validate messages
  • Admin console UI with custom React component for managing access rules
  • Visual interface to add/remove users from channel whitelists
  • Configurable block message and admin bypass option
  • Support for multiple channels with individual user whitelists

Technical implementation:

  • Server component in Go with proper configuration management
  • Webapp component in React with visual rule management
  • Complete build system with Makefile
  • Comprehensive documentation in Russian and English
  • Proper plugin manifest with settings schema

Files included:

  • plugin.json: Plugin manifest and settings schema
  • server/plugin.go: Main plugin logic with hooks
  • webapp/src/: React components for admin console
  • Makefile: Build and deployment scripts
  • README.md: Complete documentation and usage guide

Summary

Ticket Link

Created a complete Mattermost plugin that restricts channel posting access based on user whitelists.

Features:
- Server-side hook (MessageWillBePosted) to intercept and validate messages
- Admin console UI with custom React component for managing access rules
- Visual interface to add/remove users from channel whitelists
- Configurable block message and admin bypass option
- Support for multiple channels with individual user whitelists

Technical implementation:
- Server component in Go with proper configuration management
- Webapp component in React with visual rule management
- Complete build system with Makefile
- Comprehensive documentation in Russian and English
- Proper plugin manifest with settings schema

Files included:
- plugin.json: Plugin manifest and settings schema
- server/plugin.go: Main plugin logic with hooks
- webapp/src/: React components for admin console
- Makefile: Build and deployment scripts
- README.md: Complete documentation and usage guide
@mattermost-build

Copy link
Copy Markdown
Contributor

Hello @mikhailartamonov,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.

Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.

This is a standard procedure for many open source projects.

Please let us know if you have any questions.

We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

@gluckdev gluckdev closed this Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants