memos/server/auth
Johnny 0f3c9a467d refactor: migrate HOST roles to ADMIN
- Updated the isSuperUser function to only check for ADMIN role.
- Added SQL migration scripts for MySQL, PostgreSQL, and SQLite to change user roles from HOST to ADMIN.
- Created a new SQLite migration to alter the user table structure and ensure data integrity during the migration process.
2026-01-20 23:38:30 +08:00
..
authenticator.go refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
context.go refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
extract.go refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
token.go refactor(auth): remove legacy session cookie authentication 2025-12-19 00:09:08 +08:00
token_test.go refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00