Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf45a170

Browse files
committed
Call compileToSQL in getWorkspaces
1 parentdb647ba commitf45a170

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎coderd/database/databasefake/databasefake.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,11 @@ func (q *fakeQuerier) GetAuthorizedWorkspaces(ctx context.Context, arg database.
889889
q.mutex.RLock()
890890
deferq.mutex.RUnlock()
891891

892+
_,err:=prepared.CompileToSQL(ctx,rbac.ConfigWithoutACL())
893+
iferr!=nil {
894+
returnnil,err
895+
}
896+
892897
workspaces:=make([]database.Workspace,0)
893898
for_,workspace:=rangeq.workspaces {
894899
ifarg.OwnerID!=uuid.Nil&&workspace.OwnerID!=arg.OwnerID {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp