Skip to content

Commit

Permalink
refactor: limit exec permission to project
Browse files Browse the repository at this point in the history
  • Loading branch information
ssttehrani committed Jul 14, 2024
1 parent 4878fe4 commit 4bc3c27
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 4bc3c27

Please sign in to comment.