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:
Huskydog9988
2025-05-14 22:53:09 -04:00
parent 82b123a345
commit 9d2aded70f
8 changed files with 45 additions and 2 deletions

View File

@ -70,6 +70,8 @@ const systemACLPrefix = "system:";
export type SystemACL = Array<(typeof systemACLs)[number]>;
export type ValidACLItems = Array<SystemACL[number] | UserACL[number]>;
class ACLManager {
private getAuthorizationToken(request: MinimumRequestObject) {
const [type, token] =