Skip to content

Commit

Permalink
Merge pull request #18 from snapp-incubator/sstt/refactor/exec-rbac
Browse files Browse the repository at this point in the history
refactor: limit exec permission to project
  • Loading branch information
ssttehrani authored Jul 15, 2024
2 parents 4878fe4 + 4bc3c27 commit 8c55464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/argocduser_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (r *ArgocdUserReconciler) AddArgocdRBACPolicy(ctx context.Context, argocdus
"p, role:" + argocduser.Name + "-admin, repositories, update, " + argocduser.Name + "/*, allow",
"p, role:" + argocduser.Name + "-view, repositories, get, " + argocduser.Name + "/*, allow",
"p, role:" + argocduser.Name + "-view, applications, get, " + argocduser.Name + "/*, allow",
"p, role:" + argocduser.Name + "-admin, exec, create, *, allow",
"p, role:" + argocduser.Name + "-admin, exec, create, " + argocduser.Name + "/*, allow",
}

//add argocd rbac policy
Expand Down

0 comments on commit 8c55464

Please sign in to comment.