Commit Graph

7 Commits

Author SHA1 Message Date
f13be9786b fix: add api list limits 2026-03-16 22:51:06 +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
9d73614ea5 feat: improve category/header sort order 2025-11-09 21:53:57 +02:00
771199ce49 feat: permission middleware 2025-11-08 10:39:32 +02:00
6ecd7692a2 feat: admin category editing 2025-11-08 09:59:45 +02:00
14204522b6 feat: bbcode parsing 2025-11-07 02:24:39 +02:00
b9ae4ce1e3 feat: initial db structure, mappers & apis 2025-11-06 02:03:55 +02:00