Skip to content

Commit

Permalink
fix(api): add auth scope projet to worker
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 richardlt committed Jan 17, 2020
1 parent 65f463b commit 4a2d850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/api/authentication/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func NewConsumerWorker(ctx context.Context, db gorp.SqlExecutor, name string, ha
Scopes: []sdk.AuthConsumerScope{
sdk.AuthConsumerScopeWorker,
sdk.AuthConsumerScopeWorkerModel,
sdk.AuthConsumerScopeProject,
sdk.AuthConsumerScopeRun,
sdk.AuthConsumerScopeRunExecution,
},
Expand Down

0 comments on commit 4a2d850

Please sign in to comment.