Skip to content

Commit

Permalink
Merge pull request #14 from snapp-incubator/feat/application-access-v…
Browse files Browse the repository at this point in the history
…iew-role

add application access for view role
  • Loading branch information
AnisHamidi authored Nov 21, 2023
2 parents 666de37 + dbcb15b commit 1ca0640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/argocduser_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ func (r *ArgocdUserReconciler) AddArgocdRBACPolicy(ctx context.Context, argocdus
"p, role:" + argocduser.Name + "-admin, repositories, delete, " + argocduser.Name + "/*, allow",
"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",
}

Expand Down

0 comments on commit 1ca0640

Please sign in to comment.