Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Authorization
    • Labels:
      None

      Description

      Implement set roles, show current roles as per functional spec for SQL standard based auth.
      Also authorize set role - check if user belongs to the role.

      1. HIVE-5930.patch
        37 kB
        Ashutosh Chauhan
      2. HIVE-5930.1.patch
        38 kB
        Ashutosh Chauhan
      3. HIVE-5930.2.patch
        37 kB
        Ashutosh Chauhan

        Issue Links

          Activity

          Hide
          Thejas M Nair added a comment -

          This sub-task includes parser changes for the same.

          Show
          Thejas M Nair added a comment - This sub-task includes parser changes for the same.
          Hide
          Thejas M Nair added a comment -

          We would need to store the current role for the session.

          Show
          Thejas M Nair added a comment - We would need to store the current role for the session.
          Hide
          Thejas M Nair added a comment -

          metastore list_roles call can be used to get all roles the user belongs to.

          Show
          Thejas M Nair added a comment - metastore list_roles call can be used to get all roles the user belongs to.
          Hide
          Ashutosh Chauhan added a comment -

          Addressed Brock's comments.

          Show
          Ashutosh Chauhan added a comment - Addressed Brock's comments.
          Hide
          Ashutosh Chauhan added a comment -

          Addressed Thejas comments.

          Show
          Ashutosh Chauhan added a comment - Addressed Thejas comments.
          Hide
          Hive QA added a comment -

          Overall: +1 all checks pass

          Here are the results of testing the latest attachment:
          https://issues.apache.org/jira/secure/attachment/12627769/HIVE-5930.2.patch

          SUCCESS: +1 5041 tests passed

          Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1247/testReport
          Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1247/console

          Messages:

          Executing org.apache.hive.ptest.execution.PrepPhase
          Executing org.apache.hive.ptest.execution.ExecutionPhase
          Executing org.apache.hive.ptest.execution.ReportingPhase
          

          This message is automatically generated.

          ATTACHMENT ID: 12627769

          Show
          Hive QA added a comment - Overall : +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12627769/HIVE-5930.2.patch SUCCESS: +1 5041 tests passed Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1247/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1247/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase This message is automatically generated. ATTACHMENT ID: 12627769
          Hide
          Ashutosh Chauhan added a comment -

          Committed to trunk. Thanks, Thejas for review!

          Show
          Ashutosh Chauhan added a comment - Committed to trunk. Thanks, Thejas for review!

            People

            • Assignee:
              Ashutosh Chauhan
              Reporter:
              Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Development