Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-1375

Ranger should always using the current user to do privilege check.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • 2.2.0.0-incubating
    • None
    • None

    Description

      Failure Case:

      user u1 create table a(i int);
      user u2 create view av as select * from a;
      user u3 select * from av.
      

      When ORCA is on, u3 will first ask select privilege as user u3 to Ranger, and then ask select privilege as user u2 to Ranger.
      The second check should be removed, since there may be no privilege for u2 to select av even if av is created by u2 in Ranger mode.

      Attachments

        Activity

          People

            espino Ed Espino
            hubertzhang Hubert Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: