Просмотр исходного кода

Added disabled integrations to viewer policy

jnfrati 4 лет назад
Родитель
Сommit
351bea06f4
1 измененных файлов с 5 добавлено и 0 удалено
  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"],
   resources: [],
   children: {
+    integrations: {
+      scope: "integrations",
+      verbs: [],
+      resources: [],
+    },
     settings: {
       scope: "settings",
       verbs: [],