feat/admin-users-mods-chat #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/admin-users-mods-chat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add src/server_fns/admin.rs with all admin-only endpoints: - get_settings / update_settings (reads/writes SiteSettings) - list_users / change_user_role / delete_user - create_invite_code / list_invite_codes / revoke_invite_code - create_room / delete_room / update_room All functions call require_role("admin") as the first guard. Register admin module in server_fns/mod.rs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>