From cc39345aca5940ae0e50b81c695b1d9781d6e913 Mon Sep 17 00:00:00 2001 From: William Cheung <83677809+wvxcheung@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:03:19 -0500 Subject: [PATCH] feat: kingston integration (#77) Fixes [AB#6624](https://dev.azure.com/HCPHAC/5346c868-3a60-4f97-aa76-49dc2380e734/_workitems/edit/6624) --- graphql/auth.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/graphql/auth.ts b/graphql/auth.ts index 1f510e2..887ace4 100644 --- a/graphql/auth.ts +++ b/graphql/auth.ts @@ -106,6 +106,20 @@ export const groups: { readonly [authGroup: string]: AuthFilters } = { wastewatermpox: { where: ['Location', 'thisiddoesnotexist'], }, + }, + kcb:{ + sites:{ + where: ['healthReg', "Kingston"] + }, + datasets: { + whereNotIn: ['datasetID',['NML-WWMPOX']], + }, + measures: { + whereNotIn: ['measure', ["g2rNML", "g2rG", "g2rWA"]] + }, + wastewatermpox: { + where: ['Location', 'thisiddoesnotexist'], + }, } };