feat(phase2): channel permission overrides + expanded role UI + audit log cleanup

This commit is contained in:
2026-06-30 10:28:03 -04:00
parent d7c84647e5
commit bd260183ef
10 changed files with 598 additions and 19 deletions
+4 -8
View File
@@ -25,17 +25,13 @@
> Unlocks serious server organization. Guilded's strength was granular permissions.
---
## Phase 2 — Moderation & Permissions 🔄 IN PROGRESS
| # | Feature | Status |
|---|---------|--------|
| 2.1 | Per-Channel Permission Overrides | Pending |
| 2.1 | Per-Channel Permission Overrides | In progress |
| 2.2 | Expanded Permission Flags | ✅ Already added in `internal/permissions/permissions.go` |
| 2.3 | Role Colors & Hierarchy | ✅ DB columns present; UI pending |
| 2.4 | Audit Log | In progress |
| 2.5 | Bulk Message Delete | In progress |
| 2.3 | Role Colors & Hierarchy | ✅ DB columns present; UI in progress |
| 2.4 | Audit Log | ✅ Backend + server settings panel live |
| 2.5 | Bulk Message Delete | ✅ Backend + frontend live |
### 2.1 Per-Channel Permission Overrides
- **Backend:** New `channel_overrides` table (channel_id, target_type: role/user, target_id, allow_bitflags, deny_bitflags). Extend permission checker to layer channel overrides on top of role permissions.