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

HDDS-4917.[FSO]Implement ACL requests for new layout #2024

Merged
merged 5 commits into from
Mar 15, 2021

Conversation

sadanand48
Copy link
Contributor

What changes were proposed in this pull request?

Implement ACL api's like getAcl, addAcl, setAcl ,removeAcl in the new layout V1.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4917

How was this patch tested?

Added Unit test

Copy link
Contributor

@linyiqun linyiqun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, +1. Thanks for addressing the comments.
Let's wait for others to have a double check for this PR before the merge, : ).

@rakeshadr
Copy link
Contributor

+1 patch looks good to me.

Thanks @sadanand48 for the contribution. Thanks a lot @linyiqun for the reviews.

@rakeshadr
Copy link
Contributor

@xiaoyuyao this patch is expecting prefixes and the key should exist in DB. Otw, it will throw Key_Not_Found exception. IIRC, we have discussed this case of non-existent path and not required to handle this case. Could you please add your thoughts. Thanks!

IMHO, I am open to discuss this point and if we need to support then it can be handled separately in a new jira. I'm merging this PR now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants