From f71fcf0c2be2ba13704801bdabd2dc2744c7eb2b Mon Sep 17 00:00:00 2001 From: William Cheung <83677809+wvxcheung@users.noreply.github.com> Date: Thu, 15 Aug 2024 14:53:46 -0400 Subject: [PATCH] feat: add PHO access filters (#58) --- graphql/auth.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphql/auth.ts b/graphql/auth.ts index 8f3517d..1e0df3b 100644 --- a/graphql/auth.ts +++ b/graphql/auth.ts @@ -30,6 +30,11 @@ export const groups: { readonly [authGroup: string]: AuthFilters } = { whereIn: ['datasetID', ['NML-WWPCR', 'NML-GXWW', 'onsite-GXWW']], }, }, + pho: { + sites:{ + whereIn: ['healthReg', ['Dryden', 'Kenora']] + } + }, open: { sites: { where: ['siteID', 'thisiddoesnotexist'],