object storage interface + utility functions

New ObjectBackend class that requires implementors to specify a few
basic functions, and it handles the permission logic on top of that.
Hopefully there is enough abstraction to suite further use cases!
This commit is contained in:
DecDuck
2024-10-09 13:47:28 +11:00
parent 6d32e36b35
commit 9b34668e50
5 changed files with 177 additions and 9 deletions
+3
View File
@@ -18,6 +18,9 @@ model User {
username String @unique
admin Boolean @default(false)
email String
displayName String
authMecs LinkedAuthMec[]
clients Client[]
}