Skip to content

Commit

Permalink
change permissions for execute continuous export
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-har committed Nov 9, 2020
1 parent 8a40c2b commit 98a9132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/api_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2232,8 +2232,8 @@ func (c *Controller) ExportExecuteContinuousExport() exportop.ExecuteContinuousE
return exportop.ExecuteContinuousExportHandlerFunc(func(params exportop.ExecuteContinuousExportParams, user *models.User) middleware.Responder {
deps, err := c.setupRequest(user, params.HTTPRequest, []permissions.Permission{
{
Action: permissions.CreateBranchAction,
Resource: permissions.BranchArn(params.Repository, params.Branch),
Action: permissions.WriteObjectAction,
Resource: permissions.ObjectArn(params.Repository, params.Branch),
},
})
if err != nil {
Expand Down

0 comments on commit 98a9132

Please sign in to comment.