feat(ui): Benutzer mit Rollen, Anmeldung mit Passwort, erste Einrichtung (#1062)
Argon2id, Standard-Admin mit Einmalpasswort in Datei, eigener Admin bei der ersten Einrichtung, Rollen admin und nutzer, Benutzerverwaltung, Mein Konto, nexus user. Die Anmeldung mit API-Key an der Oberfläche entfällt. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GmHhg3osejhFSpUz472iQ1
This commit is contained in:
@ -13,10 +13,12 @@ use rusqlite::Connection;
|
||||
mod keys;
|
||||
mod logs;
|
||||
mod registry;
|
||||
mod users;
|
||||
|
||||
pub use keys::{ApiKeyRecord, RemoveKeyOutcome, Rights};
|
||||
pub use logs::{AuditRow, RequestLogEntry, RequestLogRow, RequestView};
|
||||
pub use registry::{ModelDetails, ModelEntry, NewLlm, RemoveOutcome, StartPlan};
|
||||
pub use users::{UserRecord, UserRole};
|
||||
|
||||
/// Alle Migrationen in Reihenfolge. Index 0 ergibt Schema-Version 1.
|
||||
const MIGRATIONS: &[&str] = &[
|
||||
@ -24,6 +26,7 @@ const MIGRATIONS: &[&str] = &[
|
||||
include_str!("../migrations/0002_logging.sql"),
|
||||
include_str!("../migrations/0003_metrikproben.sql"),
|
||||
include_str!("../migrations/0004_scheduler.sql"),
|
||||
include_str!("../migrations/0005_benutzer.sql"),
|
||||
];
|
||||
|
||||
/// Schema-Version, die dieses Crate erzeugt.
|
||||
|
||||
Reference in New Issue
Block a user