Skip to content

Conversation

@Juliehzl
Copy link
Contributor

@Juliehzl Juliehzl commented Sep 21, 2020

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.

@yonzhan
Copy link
Collaborator

yonzhan commented Sep 21, 2020

add to S176

@yonzhan yonzhan added this to the S176 milestone Sep 21, 2020
@bim-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Juliehzl Juliehzl requested a review from evelyn-ys as a code owner September 27, 2020 09:54
@yonzhan yonzhan modified the milestones: S176, S177 Oct 2, 2020
Comment on lines +1691 to +1692
- 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
Copy link
Contributor

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"

Copy link
Contributor Author

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.

@Juliehzl
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Juliehzl
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Juliehzl Juliehzl requested a review from zhoxing-ms October 23, 2020 05:45
@yonzhan yonzhan merged commit 1210e99 into Azure:dev Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Need SDK released Pending for sdk release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants