Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3047

Add a privilege for cross database access

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Authorization
    • None

    Description

      This JIRA is for adding a new privilege for cross database operations.

      Privilege will be called something like "cross_database_commands"

      GRANT cross_database_commands ON DATABASE db TO USER x;
      GRANT cross_database_commands ON DATABASE db to ROLE x;

      This privilege would be provided by default, but if absent, then the user would be prevented from referencing DBs outside of 'db' while using 'db' as the primary database.

      We will also need a way for this privilege be turned off by default for all users, groups and roles for newly created databases.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sambavi Sambavi Muthukrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: