Skip to content

Commit

Permalink
add group permissions on /
Browse files Browse the repository at this point in the history
  • Loading branch information
fishnix committed Mar 8, 2021
1 parent aaec37b commit 51a957c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ func (s *server) repositoryUserCreatePolicy() (string, error) {
"iam:CreatePolicyVersion",
"iam:CreateUser",
"iam:GetGroup",
"iam:CreateGroup",
"iam:TagUser",
},
Resource: []string{
fmt.Sprintf("arn:aws:iam::*:group/spinup/%s/*", s.org),
"arn:aws:iam::*:group/*",
fmt.Sprintf("arn:aws:iam::*:policy/spinup/%s/*", s.org),
fmt.Sprintf("arn:aws:iam::*:user/spinup/%s/*", s.org),
},
Expand Down

0 comments on commit 51a957c

Please sign in to comment.