Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetAppDetails requires create Application permissions #21200

Open
3 tasks done
Homulvas opened this issue Dec 16, 2024 · 0 comments
Open
3 tasks done

GetAppDetails requires create Application permissions #21200

Homulvas opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working component:rbac Issues related to Openshift and Racher version:2.13 Latest confirmed affected version is 2.13

Comments

@Homulvas
Copy link
Contributor

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

Clicking on History and Rollback > Show Details results in an auth error if the user doesn't have permissions to create applications.

To Reproduce

Have a helm chart Application and access to read it. Go to History > Details.

Expected behavior

The error shouldn't happen as the user has proper read permissions.

Screenshots

image

Version

v2.13.1+af54ef8

Logs

{"grpc_method":"GetAppDetails","grpc_request_claims":"{\"amr\":[\"hwk\"],\"at_hash\":\"xxx\",\"aud\":\"xxx\",\"auth_time\":1734355310,\"email\":\"[email protected]\",\"exp\":1734358911,\"iat\":1734355311,\"idp\":\"xxx\",\"iss\":\"https://x.x\",\"jti\":\"ID.xxx\",\"name\":\"Name\",\"preferred_username\":\"name\",\"sub\":\"xxx\",\"ver\":1}","grpc_request_content":{"appName":"someApp","appProject":"someProj","source":{"chart":"someChart","helm":{"releaseName":"someRelease"},"repoURL":"http://someRepo","targetRevision":"0.0.0"},"versionId":1},"grpc_service":"repository.RepositoryService","grpc_start_time":"2024-12-16T13:22:46Z","level":"info","msg":"received unary call /repository.RepositoryService/GetAppDetails","span_kind":"server","system":"grpc","time":"2024-12-16T13:22:46Z"}
{"error":"rpc error: code = PermissionDenied desc = permission denied: applications, create, someProj/someApp, sub: xxx, iat: 2024-12-16T13:21:51Z","grpc_code":"PermissionDenied","grpc_method":"GetAppDetails","grpc_service":"repository.RepositoryService","grpc_start_time":"2024-12-16T13:22:46Z","grpc_time_ms":1.186,"level":"warning","msg":"finished unary call with code PermissionDenied","span_kind":"server","system":"grpc","time":"2024-12-16T13:22:46Z"}
@Homulvas Homulvas added the bug Something isn't working label Dec 16, 2024
@andrii-korotkov-verkada andrii-korotkov-verkada added component:rbac Issues related to Openshift and Racher version:2.13 Latest confirmed affected version is 2.13 labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:rbac Issues related to Openshift and Racher version:2.13 Latest confirmed affected version is 2.13
Projects
None yet
Development

No branches or pull requests

2 participants