Explorar o código

Added disabled integrations to viewer policy

jnfrati %!s(int64=4) %!d(string=hai) anos
pai
achega
351bea06f4
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      dashboard/src/shared/auth/authorization-helpers.ts

+ 5 - 0
dashboard/src/shared/auth/authorization-helpers.ts

@@ -23,6 +23,11 @@ export const VIEWER_POLICY_MOCK: PolicyDocType = {
   verbs: ["get", "list"],
   verbs: ["get", "list"],
   resources: [],
   resources: [],
   children: {
   children: {
+    integrations: {
+      scope: "integrations",
+      verbs: [],
+      resources: [],
+    },
     settings: {
     settings: {
       scope: "settings",
       scope: "settings",
       verbs: [],
       verbs: [],