Feat v0.7.2 package runners ci gate (#56)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-runners (push) Has been skipped
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m39s
CI/CD / test-sqlite (push) Successful in 2m55s
CI/CD / build-and-deploy (push) Successful in 29s
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-runners (push) Has been skipped
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m39s
CI/CD / test-sqlite (push) Successful in 2m55s
CI/CD / build-and-deploy (push) Successful in 29s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #56.
This commit is contained in:
@@ -82,7 +82,7 @@ func (s *ConnectionStore) Resolve(ctx context.Context, userID, connType, name st
|
||||
AND (
|
||||
(scope = 'personal' AND owner_id = $2)
|
||||
OR (scope = 'team' AND owner_id IN (
|
||||
SELECT team_id FROM team_members WHERE user_id = $2
|
||||
SELECT team_id::text FROM team_members WHERE user_id = $2::uuid
|
||||
))
|
||||
OR (scope = 'global')
|
||||
)`, connCols)
|
||||
@@ -105,7 +105,7 @@ func (s *ConnectionStore) ResolveAll(ctx context.Context, userID, connType strin
|
||||
AND (
|
||||
(scope = 'personal' AND owner_id = $2)
|
||||
OR (scope = 'team' AND owner_id IN (
|
||||
SELECT team_id FROM team_members WHERE user_id = $2
|
||||
SELECT team_id::text FROM team_members WHERE user_id = $2::uuid
|
||||
))
|
||||
OR (scope = 'global')
|
||||
)
|
||||
@@ -125,7 +125,7 @@ func (s *ConnectionStore) ListAccessible(ctx context.Context, userID string) ([]
|
||||
AND (
|
||||
(scope = 'personal' AND owner_id = $1)
|
||||
OR (scope = 'team' AND owner_id IN (
|
||||
SELECT team_id FROM team_members WHERE user_id = $1
|
||||
SELECT team_id::text FROM team_members WHERE user_id = $1::uuid
|
||||
))
|
||||
OR (scope = 'global')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user