From 067aca51732e8cb9bfbb4fd90ddde3aee5f5d2d9 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Thu, 21 Nov 2024 14:33:37 +0100 Subject: [PATCH] fix: certificate page hidden for students --- .../dashboard/src/lib/components/RoleBasedSecurity/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte b/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte index 203c55f8..b3ced824 100644 --- a/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte +++ b/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte @@ -5,7 +5,7 @@ import { isOrgAdmin } from '$lib/utils/store/org'; import { ROLE } from '$lib/utils/constants/roles'; - export let allowedRoles: number[] = []; + export let allowedRoles: number[] = [1, 2, 3]; export let onDenied = () => {}; export let onlyStudent = false;