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 4fa771a0b5
commit de388a937a
5 changed files with 177 additions and 9 deletions

View File

@ -18,6 +18,9 @@ model User {
username String @unique
admin Boolean @default(false)
email String
displayName String
authMecs LinkedAuthMec[]
clients Client[]
}