mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-18 02:31:19 +10:00
feat: add acl to notifications
not sure if i got all the acls of the different notifications down rn, but it seems to be about right
This commit is contained in:
@ -34,6 +34,9 @@ model Notification {
|
||||
description String
|
||||
actions String[]
|
||||
|
||||
// ACL items
|
||||
requiredPerms String[] @default([])
|
||||
|
||||
read Boolean @default(false)
|
||||
|
||||
@@unique([userId, nonce])
|
||||
|
||||
Reference in New Issue
Block a user