Open behniafb opened 7 months ago
+1 we are also seeing this issue.
applicationsets as well as using projects in policies defined in AppProject throw the error.
Unable to update project: invalid policy rule 'p, proj:proj_name:read-write, projects, get, proj_name, allow': project resource must be: 'applications', 'repositories' or 'clusters', not 'projects'
ArgoCD versions 2.10 and below have reached EOL. Can you upgrade and tell us if the issue is still present, please?
Checklist:
argocd version
.Describe the bug What I have now:
An AppProject called
platform
which it's config is as below:Now I want to add a new policy, for admins to be able to edit their project (which is platform). So I guess this should be the policy:
But when I apply this new config & try to update the
platform
project, it gives me this error on the UI:To Reproduce I've put the reproduce steps above.
Expected behavior Be able to edit the
platform
project. Also, why I get an error which is related to something else from what I edited?! (I added a new policy forproject
, and the error is forapplicationsets
!)Version