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

Support granting/revoking multiple roles and multiple privileges in a single statement

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Impala 2.0
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:

      Description

      Currently, Impala only supports granting/revoking a single privilege to/from a single row. It would be useful to support granting/revoking multiple privileges to multiple roles in a single statement. For example:

      GRANT SELECT, INSERT ON TABLE foo TO role1, role2
      

      Similarly, it would be useful to be able to grant grant multiple roles to multiple groups in the same statement:

      GRANT ROLE role1, role2 TO GROUP group1, group2
      

      I believe our thrift structs/APIs should be setup for this already, we just need to add the grammar and make the right calls to the sentry service.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lskuff Lenni Kuff
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: