Remove unnecessary canviewlogs permission

This commit is contained in:
2025-12-04 22:18:29 +01:00
parent d9c666a245
commit 991ce3c678
6 changed files with 14 additions and 20 deletions

View File

@@ -27,10 +27,9 @@ type APIKey struct {
}
type KeyPermission struct {
KeyID int
InstanceID int
CanInfer bool
CanViewLogs bool
KeyID int
InstanceID int
CanInfer bool
}
// GenerateKey generates a cryptographically secure API key with the given prefix