diff --git a/src/utils/claims.ts b/src/utils/claims.ts index 5101770..280ae4b 100644 --- a/src/utils/claims.ts +++ b/src/utils/claims.ts @@ -22,6 +22,7 @@ export type Claim = | "task:delete" | "notification:read" | "notification:write" + | "notification:delete" | "config:read" | "config:write" | "mail:all" diff --git a/src/utils/roles.ts b/src/utils/roles.ts index f62ceea..8e8627f 100644 --- a/src/utils/roles.ts +++ b/src/utils/roles.ts @@ -25,6 +25,7 @@ export const rules: Record< "task:delete", "notification:read", "notification:write", + "notification:delete", "config:read", "config:write", "mail:all", @@ -64,6 +65,7 @@ export const rules: Record< "task:delete", "notification:read", "notification:write", + "notification:delete", "config:read", "config:write", "mail:all",