Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This Jira is created based on @xiaoyu comment on HDDS-1884
Can we abstract these add/remove logic into common AclUtil class as we can see similar logic in both bucket manager and key manager? For example,
public static boolean addAcl(List existingAcls, OzoneAcl newAcl)
public static boolean removeAcl(List existingAcls, OzoneAcl newAcl)
But to do this, we need both OmKeyInfo and OMBucketInfo to use list of OzoneAcl/OzoneAclInfo.
This Jira is to do that refactor, and also address above comment to move common logic to AclUtils.
Attachments
Issue Links
1.
|
Fix CreateBucket API in RpcClient | Open | Unassigned |