Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1927

Consolidate add/remove Acl into OzoneAclUtil class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.1
    • 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

        Activity

          People

            xyao Xiaoyu Yao
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10h
                10h