[x] I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
[x] I've added or updated automated unit tests to verify correctness of my new code.
[x] I've added or updated integration tests to verify correctness of my new code.
[x] I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
[ ] I've confirmed that my changes are working by executing CLI's commands manually on Windows.
[x] I've confirmed that my changes are up-to-date with the target branch.
[x] I've described my changes in the release notes.
[x] I've described my changes in the section below.
Changes description
If a user only has the following permissions:
MONITOR on the package
USAGE on the stage’s schema
READ on the stage
MANAGE VERSIONS on the package
They should still be able to create a new version.
To remove the requirement to have privilege to create a stage, we now check if the stage exists instead of doing create stage if not exists. To remove the requirement to have privilege to check for release directives, we now show a different warning if we couldn't check whether a version is already included in a release directive.
Pre-review checklist
Changes description
If a user only has the following permissions:
MONITOR
on the packageUSAGE
on the stage’s schemaREAD
on the stageMANAGE VERSIONS
on the package They should still be able to create a new version.To remove the requirement to have privilege to create a stage, we now check if the stage exists instead of doing
create stage if not exists
. To remove the requirement to have privilege to check for release directives, we now show a different warning if we couldn't check whether a version is already included in a release directive.