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

Remove checkAclRight method, duplicates checkAclRights

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • OM
    • Patch

    Description

      I found there are two functions performing the same purpose and the same logic. Would like to have a review if we could reduce to only one function.

      java source code:
      java/org/apache/hadoop/ozone/om/helpers/OzoneAclUtil.java

      class method:
      checkAclRight() and checkAclRights()

      Attachments

        1. Screen Shot 2564-06-09 at 13.49.37.png
          100 kB
          Pakapoj Tulsuk
        2. Screen Shot 2564-06-09 at 13.49.17.png
          105 kB
          Pakapoj Tulsuk

        Activity

          People

            pakapoj Pakapoj Tulsuk
            sombat.cha Sombat Charnchaleo
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: