Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7616

Refactor PrincipalPrivilege.buildPrivilegeName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 3.1.0
    • Frontend
    • None
    • ghx-label-3

    Description

      The buildPrivilegeName pattern across the frontend code is odd in that setting the name is an explicit function and not built during the get from the constituent parts. e.g. If you create a privilege that doesn't have the grant option set, and then set the grant option after, the getPrivilegeName() will return a name that does not have the grant option. This should be refactored to build the name on the getPrivilegeName call based on the current values in the Privilege object.

      Attachments

        Issue Links

          Activity

            People

              fredyw Fredy Wijaya
              aholley Adam Holley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: