snowflakedb / snowflake-cli

Snowflake CLI is an open-source command-line tool explicitly designed for developer-centric workloads in addition to SQL operations.
https://docs.snowflake.com/developer-guide/snowflake-cli-v2/index
Apache License 2.0
183 stars 54 forks source link

SNOW-1763420 Allow creating version with only MANAGE VERSIONS privilege #1837

Closed sfc-gh-fcampbell closed 1 week ago

sfc-gh-fcampbell commented 2 weeks ago

Pre-review checklist

Changes description

If a user only has the following permissions:

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.