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

fix: add tenant role validation #61

Merged
merged 5 commits into from
Dec 18, 2024

Conversation

aarlaud
Copy link
Collaborator

@aarlaud aarlaud commented Dec 18, 2024

validates the right tenant role and provide an explicit error message if role is not admin.

@aarlaud aarlaud requested a review from a team as a code owner December 18, 2024 11:23
src/base-command.ts Outdated Show resolved Hide resolved
src/base-command.ts Outdated Show resolved Hide resolved
aarlaud and others added 2 commits December 18, 2024 12:51
Co-authored-by: Matthew Rogers <matt.rogers@snyk.io>
Co-authored-by: Matthew Rogers <matt.rogers@snyk.io>
Copy link
Contributor

@soniqua soniqua left a comment

Choose a reason for hiding this comment

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

Approved with some minor nits

@aarlaud aarlaud merged commit a43c7c7 into main Dec 18, 2024
6 checks passed
@aarlaud aarlaud deleted the fix/improve-error-handling-and-msging-tenant-role-reqs branch December 18, 2024 12:07
@snyksec
Copy link

snyksec commented Dec 18, 2024

🎉 This PR is included in version 1.17.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants