Merge branch 'gergo/serverGuest/main' of github.com:specklesystems/speckle-server into gergo/serverGuest/guestRoleDefinition
This commit is contained in:
@@ -227,9 +227,9 @@ module.exports = {
|
||||
(
|
||||
-- Get streams ids on which the user is owner
|
||||
SELECT "resourceId" FROM stream_acl
|
||||
WHERE role = ${Roles.Stream.Owner} AND "userId" = ?
|
||||
WHERE role = '${Roles.Stream.Owner}' AND "userId" = ?
|
||||
) AS us ON acl."resourceId" = us."resourceId"
|
||||
WHERE acl.role = ${Roles.Stream.Owner}
|
||||
WHERE acl.role = '${Roles.Stream.Owner}'
|
||||
GROUP BY (acl."resourceId")
|
||||
) AS soc
|
||||
WHERE cnt = 1
|
||||
|
||||
Reference in New Issue
Block a user