diff --git a/packages/zero/schema.ts b/packages/zero/schema.ts index 7b7545bf..b340d4dd 100644 --- a/packages/zero/schema.ts +++ b/packages/zero/schema.ts @@ -353,7 +353,7 @@ export const permissions = definePermissions(schema, () => { ] } }, - //Games are publicly viewable for logged in users + // Games are publicly viewable - but only to logged in users games: { row: { select: [(auth: Auth, q: ExpressionBuilder) => q.cmpLit(auth.sub, "IS NOT", null),]