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

Remove checkAclRight method, duplicates checkAclRights

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment