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

enable setting multiple SAS permissions at once #432

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

bmc-msft
Copy link
Contributor

As indicated in the Specifying permissions,

Permissions can be combined to permit a client to perform multiple operations with the same SAS. When you construct the SAS, you must include permissions in the following order:

racwdxltmeop

Examples of valid permissions settings for a container include rw, rd, rl, wd, wl, and rl. Examples of invalid settings include wr, dr, lr, and dw. Specifying a permission designation more than once is not permitted.

Fixes #431.

Note, we probably want to create multiple SasPermissions style classes, as there are different sets of allowed permissions for different resources.

@bmc-msft bmc-msft merged commit eccb473 into Azure:main Oct 22, 2021
@bmc-msft bmc-msft deleted the enable-setting-multiple-sas-permissions branch October 22, 2021 16: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.

SAS URLs are limited to a single permission
2 participants