Skip to content

Commit

Permalink
fix(api): compare groupId to user group (#3352)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault authored and bnjjj committed Sep 24, 2018
1 parent e4139bc commit 6d49ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/api/workflow/dao_node_run_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func LoadNodeJobRunQueue(ctx context.Context, db gorp.SqlExecutor, store cache.S
WHERE
project_group.group_id = ANY(string_to_array($7, ',')::int[])
OR
$8 = ANY(string_to_array($8, ',')::int[])
$8 = ANY(string_to_array($7, ',')::int[])
)
AND workflow_node_run_job.queued >= $1
AND workflow_node_run_job.queued <= $2
Expand Down

0 comments on commit 6d49ed4

Please sign in to comment.