-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Storage] az storage fs access: Support managing ACLs recursively
#15221
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
Conversation
|
add to S176 |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
fe8b4c1 to
d2fc93a
Compare
33e3411 to
330816f
Compare
| - name: Set the Access Control on a path and sub-paths in Azure Data Lake Storage Gen2 account. | ||
| text: az storage fs access set-recursive --acl "default:user:21cd756e-e290-4a26-9547-93e8cc1a8923:rwx" -p dir -f myfilesystem --account-name myadlsaccount --account-key 0000-0000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format of the --acl parameter is [scope:][type]:[id]:[permissions], but the location of each part in the acl parameter seems to be a bit confusing. Could we describe it in more detail?
For example:
When permissions are not passed in for acl parameter in the first example, the input value is --acl "default:user:21cd756e-e290-4a26-9547-93e8cc1a8923", but when there are only type and permissions for acl parameter, the input value is --acl "user::r-x"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it is from SDK and it is hard to see more here. But we could provide a link about acl here.
...azure-cli/azure/cli/command_modules/storage/tests/latest/test_storage_adls_gen2_scenarios.py
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Description
Set/Update/Remove ACL reclusively on datalake gen2 items with a small amount of requests, for performance improvement. Since currently, set ACL one by one is too slow.
Wait for #15572 merge
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.