WIP: Channel permission overrides #3

Draft
Ben wants to merge 2 commits from dev/channel-permissions into master
Owner

Summary

  • Per-channel permission overrides with per-user granularity
  • Database migrations for channel_permission_overrides table
  • Channel settings permissions tab UI
  • Feature flag: ChannelPermissions

Work in progress - not ready for merge.

## Summary - Per-channel permission overrides with per-user granularity - Database migrations for channel_permission_overrides table - Channel settings permissions tab UI - Feature flag: `ChannelPermissions` **Work in progress** - not ready for merge.
Add per-channel permission override system with:
- Database migration for channel_permission_overrides table
- Store/app/API layer for CRUD operations on overrides
- New ChannelPermissionOverrides feature flag
- Permissions: manage_channel_permission_overrides, view_channel_permission_overrides
- Client4 API methods and Redux state management
- Channel settings modal permissions tab
- Admin console feature flag toggle
wip: update channel permissions tab to use new SaveChangesPanel API
Some checks failed
Tests / Go Tests (pull_request) Failing after 1s
Tests / Webapp Tests (pull_request) Failing after 10m32s
Tests / Test Summary (pull_request) Failing after 3s
f2930fd47d
Some checks failed
Tests / Go Tests (pull_request) Failing after 1s
Tests / Webapp Tests (pull_request) Failing after 10m32s
Tests / Test Summary (pull_request) Failing after 3s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dev/channel-permissions:dev/channel-permissions
git switch dev/channel-permissions

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff dev/channel-permissions
git switch dev/channel-permissions
git rebase master
git switch master
git merge --ff-only dev/channel-permissions
git switch dev/channel-permissions
git rebase master
git switch master
git merge --no-ff dev/channel-permissions
git switch master
git merge --squash dev/channel-permissions
git switch master
git merge --ff-only dev/channel-permissions
git switch master
git merge dev/channel-permissions
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Ben/mattermost-extended!3
No description provided.