add alert routes
This commit is contained in:
@@ -35,4 +35,6 @@ export type Claim =
|
||||
| "note:read"
|
||||
| "note:write"
|
||||
| "note:delete"
|
||||
| "payment:read";
|
||||
| "payment:read"
|
||||
| "alert:read"
|
||||
| "alert:write";
|
||||
|
||||
@@ -37,6 +37,8 @@ export const rules: Record<
|
||||
"note:write",
|
||||
"note:delete",
|
||||
"payment:read",
|
||||
"alert:read",
|
||||
"alert:write",
|
||||
],
|
||||
hiddenFields: {
|
||||
orgs: ["__v"],
|
||||
@@ -75,6 +77,8 @@ export const rules: Record<
|
||||
"note:write",
|
||||
"note:delete",
|
||||
"payment:read",
|
||||
"alert:read",
|
||||
"alert:write",
|
||||
],
|
||||
hiddenFields: {
|
||||
orgs: ["__v"],
|
||||
@@ -105,6 +109,8 @@ export const rules: Record<
|
||||
"note:read",
|
||||
"note:write",
|
||||
"note:delete",
|
||||
"alert:read",
|
||||
"alert:write",
|
||||
],
|
||||
hiddenFields: {
|
||||
orgs: ["__v"],
|
||||
@@ -134,6 +140,8 @@ export const rules: Record<
|
||||
"ctask:delete",
|
||||
"note:read",
|
||||
"note:write",
|
||||
"alert:read",
|
||||
"alert:write",
|
||||
],
|
||||
hiddenFields: {
|
||||
orgs: ["__v"],
|
||||
|
||||
Reference in New Issue
Block a user