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

Check if a user can deploy an app before deploying it #4994

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

xdoardo
Copy link
Contributor

@xdoardo xdoardo commented Aug 8, 2024

(Closes #4961)

Currently, if a user a tries to deploy an app that in the config shows as owner the name b but a has no permissions to deploy on b the deploy fails. This PR adds a preventive check to make sure that the user has the correct permissions to deploy. In case the user can't the CLI asks for a new owner and app name.

@xdoardo xdoardo requested a review from syrusakbary as a code owner August 8, 2024 10:35
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments

@xdoardo xdoardo merged commit c0122bc into main Aug 9, 2024
62 of 63 checks passed
@xdoardo xdoardo deleted the improve-deploy-viewercan branch August 9, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve deploy process
2 participants