devtron-labs / devtron

Tool integration platform for Kubernetes
https://devtron.ai
Apache License 2.0
4.06k stars 466 forks source link

Bug: Application Permissions not working if no Environment is selected #5400

Open akshatsinha007 opened 3 weeks ago

akshatsinha007 commented 3 weeks ago

📜 Description

If an application contains only build pipelines and no environment pipelines or deployment pipelines we do not allow user build in that application until the access to All Environments is provided to the user.

👟 Reproduction steps

*

👍 Expected behavior

*

👎 Actual Behavior

*

☸ Kubernetes version

EKS 1.28

Cloud provider

AWS

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

AB#10084

vikramdevtron commented 2 weeks ago

@akshatsinha007 need some more info, we need some environment or all environment selected while giving permission, without that we can do anything that is expected behaviour.