Skip to content

Commit

Permalink
Remove CreateBranch permission check from Import (#7362)
Browse files Browse the repository at this point in the history
* Update import.md

* Remove createBranch permission from import
  • Loading branch information
itaiad200 authored Feb 4, 2024
1 parent 28fecd6 commit c4be2a0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/api/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2685,12 +2685,6 @@ func (c *Controller) ImportStart(w http.ResponseWriter, r *http.Request, body ap
Resource: permissions.BranchArn(repository, branch),
},
},
{
Permission: permissions.Permission{
Action: permissions.CreateBranchAction,
Resource: permissions.RepoArn(repository),
},
},
{
Permission: permissions.Permission{
Action: permissions.CreateCommitAction,
Expand Down

0 comments on commit c4be2a0

Please sign in to comment.