mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
🐜 fix(zero): Tidy up the schema
This commit is contained in:
@@ -353,7 +353,7 @@ export const permissions = definePermissions<Auth, Schema>(schema, () => {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//Games are publicly viewable for logged in users
|
// Games are publicly viewable - but only to logged in users
|
||||||
games: {
|
games: {
|
||||||
row: {
|
row: {
|
||||||
select: [(auth: Auth, q: ExpressionBuilder<Schema, 'games'>) => q.cmpLit(auth.sub, "IS NOT", null),]
|
select: [(auth: Auth, q: ExpressionBuilder<Schema, 'games'>) => q.cmpLit(auth.sub, "IS NOT", null),]
|
||||||
|
|||||||
Reference in New Issue
Block a user