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

Clicking on CD Block in edit mode gives error if user doesn’t has env permission #480

Closed
1 of 2 tasks
rashmirai21 opened this issue May 25, 2021 · 0 comments · Fixed by #486
Closed
1 of 2 tasks
Assignees
Labels
bug Something isn't working

Comments

@rashmirai21
Copy link
Contributor

rashmirai21 commented May 25, 2021

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

Describe the bug

Clicking on CD Block in edit mode gives error if user doesn’t has env permission

To Reproduce

[ordered list the process to finding and recreating the issue, example below]

  1. Remove access from an environment, say env.
  2. Open a CD Pipeline which deploys on environment env.

Current behavior
CD Pipeline modal opens and workflow editor breaks.

Expected behavior
Throw a toast "Access denied"
https://zpl.io/a80LRA4

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants