mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
When auth was disabled, the backend middleware attached the first admin user from the database to every request, and the frontend granted all 12 permissions. This gave every unauthenticated visitor full admin access to user management, settings, teams, branding, and feature installation. Now both layers use role "user" with user-level permissions so tools, files, and pipelines still work without login while admin-only routes correctly return 403. Closes #72