mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-23 17:28:44 +00:00
Running application actions should require override privileges not get (#1828)
This commit is contained in:
parent
3815570294
commit
6c5ccca4cd
1 changed files with 1 additions and 1 deletions
|
|
@ -1064,7 +1064,7 @@ func (s *Server) RunResourceAction(ctx context.Context, q *application.ResourceA
|
|||
Version: q.Version,
|
||||
Group: q.Group,
|
||||
}
|
||||
res, config, _, err := s.getAppResource(ctx, rbacpolicy.ActionGet, resourceRequest)
|
||||
res, config, _, err := s.getAppResource(ctx, rbacpolicy.ActionOverride, resourceRequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue