Commit Graph

11 Commits

Author SHA1 Message Date
d74a97e571 feat: admin section with repair seeds+add role helpers 2026-01-21 01:41:54 +02:00
3e1e0d2ada refactor: user stats -> forum users 2025-11-29 23:08:24 +02:00
2d4b239d9d refactor: extract admin settings to its own service 2025-11-26 01:03:19 +02:00
d2baf2a813 feat: add optional guest access with role-based permissions
Implement opt-in guest access system allowing unauthenticated users to
view forum content with configurable permissions.

Features Added:
  - Guest access toggle in admin settings for forum-wide control
  - Guest role with configurable category-level permissions
(view/post/reply)
  - Role type system (admin, moderator, default, guest, custom) for
enhanced access control
  - Public page support in routing with automatic redirect to login when
disabled
  - Public settings API endpoint for unauthenticated access to forum
metadata
  - Guest role permissions UI in admin panel with clear capability
restrictions
  - Database migration with automatic role type assignment and guest
role seeding

Security & Permission Improvements:
  - Permission middleware now validates permissions on public pages
instead of skipping checks
  - Admin/moderator roles have full access; guest/default roles
restricted from moderation
  - Guest role cannot be assigned to authenticated users

Breaking Changes:
  - Forum title/subtitle moved from system config to app config
(auto-migrated)
  - Permission middleware behavior changed for PublicPage routes (now
checks permissions)
2025-11-25 02:02:46 +02:00
bc3892e9a2 feat(AdminDashboard): add recent contributors view 2025-11-21 02:09:08 +02:00
88cb7f5aa9 feat: add role colors + improve user data structure/enrichment 2025-11-21 01:00:45 +02:00
9719f518e2 feat: load forum title/subtitle from public endpoint 2025-11-18 10:26:50 +02:00
d6146375a7 feat: admin settings + forum title/subtitle 2025-11-10 15:37:16 +02:00
522a49685f feat: remove forum_users table 2025-11-10 15:06:57 +02:00
29f70264e2 feat: update user roles 2025-11-09 01:23:01 +02:00
a59ac6a951 feat: admin pages 2025-11-08 02:44:09 +02:00