Hive
  1. Hive
  2. HIVE-5837 SQL standard based secure authorization for hive
  3. HIVE-5931

SQL std auth - add metastore get_principals_in_role api, support SHOW PRINCIPALS role_name

    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

      Support command for listing all members of a role.
      A new metastore api call also needs to be added for this.

      1. HIVE-5931.1.patch
        1.06 MB
        Thejas M Nair
      2. HIVE-5931.2.patch
        1.06 MB
        Thejas M Nair
      3. HIVE-5931.nothrifgen.1.patch
        83 kB
        Thejas M Nair
      4. HIVE-5931.nothrifgen.2.patch
        83 kB
        Thejas M Nair
      5. HIVE-5931.thriftapi.2.patch
        2 kB
        Thejas M Nair
      6. HIVE-5931.thriftapi.3.patch
        2 kB
        Thejas M Nair
      7. HIVE-5931.thriftapi.followup.patch
        2 kB
        Thejas M Nair
      8. HIVE-5931.thriftapi.patch
        1 kB
        Thejas M Nair

        Issue Links

          Activity

          Thejas M Nair created issue -
          Thejas M Nair made changes -
          Field Original Value New Value
          Component/s Authorization [ 12317300 ]
          Thejas M Nair made changes -
          Summary SQL std auth - add metastore get_role_participants api SQL std auth - add metastore get_role_participants api - to support DESCRIBE ROLE
          Thejas M Nair made changes -
          Description This is necessary for DESCRIBE ROLE role statement.
          This is necessary for DESCRIBE ROLE role statement. This will list
          all users and roles that participate in a role.
          Thejas M Nair made changes -
          Link This issue blocks HIVE-5942 [ HIVE-5942 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.thriftapi.patch [ 12632396 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.thriftapi.followup.patch [ 12632399 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.thriftapi.followup.patch [ 12632399 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.thriftapi.followup.patch [ 12632408 ]
          Thejas M Nair made changes -
          Link This issue relates to HIVE-6547 [ HIVE-6547 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.thriftapi.2.patch [ 12632888 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.thriftapi.3.patch [ 12633409 ]
          Thejas M Nair made changes -
          Summary SQL std auth - add metastore get_role_participants api - to support DESCRIBE ROLE SQL std auth - add metastore get_principals_in_role api, support DESCRIBE ROLE
          Thejas M Nair made changes -
          Attachment HIVE-5931.nothrifgen.1.patch [ 12633682 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.nothrifgen.1.patch [ 12633682 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.nothrifgen.1.patch [ 12633683 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.1.patch [ 12633684 ]
          Thejas M Nair made changes -
          Summary SQL std auth - add metastore get_principals_in_role api, support DESCRIBE ROLE SQL std auth - add metastore get_principals_in_role api, support SHOW ROLE PRINCIPALS
          Thejas M Nair made changes -
          Description This is necessary for DESCRIBE ROLE role statement. This will list
          all users and roles that participate in a role.
          Support command for listing all members of a role.
          A new metastore api call also needs to be added for this.

          Thejas M Nair made changes -
          Remote Link This issue links to "review board (Web Link)" [ 14533 ]
          Thejas M Nair made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.nothrifgen.2.patch [ 12633888 ]
          Thejas M Nair made changes -
          Attachment HIVE-5931.2.patch [ 12633889 ]
          Thejas M Nair made changes -
          Summary SQL std auth - add metastore get_principals_in_role api, support SHOW ROLE PRINCIPALS SQL std auth - add metastore get_principals_in_role api, support SHOW PRINCIPALS role_name
          Thejas M Nair made changes -
          Assignee Thejas M Nair [ thejas ]
          Thejas M Nair made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Thejas M Nair made changes -
          Fix Version/s 0.13.0 [ 12324986 ]
          Thejas M Nair made changes -
          Link This issue is duplicated by HIVE-5942 [ HIVE-5942 ]
          Thejas M Nair made changes -
          Link This issue is duplicated by HIVE-5943 [ HIVE-5943 ]

            People

            • Assignee:
              Thejas M Nair
              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 - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development