Privileges Enterprise
The following sections describe the supported privileges for each type of securable object.
Privileges that are inheritable also implicitly apply to child objects through inheritance.
- For the system, child objects include engines; identity providers; sources and spaces, as well as the folders, tables, and views they contain; scripts; users; and roles.
- For sources and spaces, child objects include the folders, tables, and views the source or space contains.
- For folders, child objects include the tables and views the folder contains, as well as any nested folders and their contents.
System Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER |
|
ALTER REFLECTION | Create, edit, and view reflections on all tables, including viewing all table reflection and admin reflection pages, using the API endpoints for listing all reflections and individual reflections, and viewing the job history for reflections. |
CONFIGURE SECURITY | Configure security-related features: set up social logins and identity providers for authentication; enable single sign-on (SSO) for BI applications like Tableau and Power BI; configure Dremio to honor tokens issued by external identity providers; and create custom OAuth applications. |
CREATE ROLE | Create roles. Each role's creator is its default owner. |
CREATE SOURCE | Create sources. Each source's creator is its default owner. |
CREATE TABLE | Create tables. Each table's creator is its default owner. |
CREATE USER | Create users. Each user's creator is its default owner. |
DELETE | Execute the delete operation on all Apache Iceberg tables. |
DROP | Remove sources, spaces, folders, tables, and views. |
EXECUTE |
|
EXPORT DIAGNOSTICS | Download the cluster logs using the Dremio console. |
EXTERNAL QUERY | Run external queries on the sources in the system.
|
INSERT | Execute the insert operation on all Apache Iceberg tables. |
MANAGE GRANTS | Grant or revoke privileges on all objects. |
MODIFY | Access and modify settings on all objects. |
READ METADATA | View the following metadata for all objects:
|
SELECT |
|
TRUNCATE | Execute the truncate operation on all Apache Iceberg tables. |
UPDATE | Execute the update operation on all Apache Iceberg tables. |
UPLOAD FILE | Upload a file to any source, space, or folder. |
VIEW JOB HISTORY | View the job history for all objects. |
VIEW REFLECTION | View table metadata and reflections on all tables and views in the system, including the Reflections tab on the Edit Dataset page for the table or view, the Reflections sidebar in the system settings, reflection API endpoints for listing individual reflections and all reflections, and job history for reflections. |
Source Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER |
|
ALTER REFLECTION | Create, edit, and view reflections on all tables in the source. Includes table reflection pages, admin reflection pages, API endpoints for listing all reflections and individual reflections, and job history for reflections. |
CREATE TABLE | Create tables using CREATE TABLE and CREATE TABLE AS SELECT (CTAS) in the source.
|
DELETE | Execute the delete operation on all Apache Iceberg tables in the source. |
DROP | Remove the source. |
EXTERNAL QUERY | Run external queries on the source.
|
INSERT | Execute the insert operation on all Apache Iceberg tables. |
MANAGE GRANTS | Grant and revoke privileges on the source and the objects it contains. |
MODIFY | Access and modify source settings. |
OWNERSHIP | Allows all actions on the source and all objects it contains.
|
READ METADATA | View the following metadata for the source:
|
SELECT |
|
TRUNCATE | Execute the truncate operation on all Apache Iceberg tables. |
UPDATE | Execute the update operation on all Apache Iceberg tables. |
VIEW REFLECTION | View reflections on all tables in the source. Includes table reflection pages, admin reflection pages, API endpoints for listing all reflections and individual reflections, and job history for reflections. |
Space Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER |
|
ALTER REFLECTION | Create, edit, and view reflections on all tables in the space. Includes table reflection pages, admin reflection pages, API endpoints for listing all reflections and individual reflections, and job history for reflections. |
DELETE | Execute the delete operation on all Apache Iceberg tables in the space. |
INSERT | Execute the insert operation on all Apache Iceberg tables in the space. |
MANAGE GRANTS | Grant and revoke privileges on the space and its child objects. |
MODIFY | Access and modify space settings. |
OWNERSHIP | Ownership includes all privileges on the space and the objects it contains.
|
READ METADATA | View the following metadata for the space:
|
SELECT |
|
TRUNCATE | Execute the truncate operation on all Apache Iceberg tables in the space. |
UPDATE | Execute the update operation on all Apache Iceberg tables in the space. |
VIEW REFLECTION | View reflections on all tables in the space. Includes table reflection pages, admin reflection pages, API endpoints for listing all reflections and individual reflections, and job history for reflections. |
Folder Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER |
|
ALTER REFLECTION | Create, edit, and view reflections on all tables in the folder. Includes table reflection pages, admin reflection pages, API endpoints for listing all reflections and individual reflections, and job history for reflections. |
CREATE TABLE | Create tables using CREATE TABLE and CREATE TABLE AS SELECT (CTAS) in the folder.
|
DELETE | Execute the delete operation on all Apache Iceberg tables in the folder. |
DROP | Remove the folder. |
MANAGE GRANTS | Grant and revoke privileges on the folder and its child objects, including the ability to transfer ownership using the GRANT OWNERSHIP command. |
OWNERSHIP | The privileges provided by ownership depend on your configuration.
|
READ METADATA | View the following metadata for the folder:
|
SELECT |
|
TRUNCATE | Execute the truncate operation on all Apache Iceberg tables. |
UPDATE | Execute the update operation on all Apache Iceberg tables. |
VIEW REFLECTION | View reflections on all tables and views in the folder. Includes reflection pages, admin reflection pages, API endpoints for listing all reflections and individual reflections, and job history for reflections. |
Script Privileges
PRIVILEGE | DESCRIPTION |
---|---|
DELETE | Delete the script. |
MANAGE GRANTS | Grant and revoke privileges on the script. |
MODIFY | Access and modify script settings. |
VIEW | Access and view the script. |
Table Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER | Edit the table's wiki, definitions, and settings and issue commands to manage metadata (including REFRESH and FORGET ) for the table. |
DELETE | Execute the delete operation (Apache Iceberg tables only). |
INSERT | Execute the insert operation (Apache Iceberg tables only). |
MANAGE GRANTS | Grant and revoke privileges on the table. |
OWNERSHIP | Allows all actions on the table.
|
READ METADATA | View the following metadata for the table:
|
SELECT |
|
TRUNCATE | Execute the truncate operation (Apache Iceberg tables only). |
UPDATE | Execute the update operation (Apache Iceberg tables only). |
User-Defined Function (UDF) Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER | Edit the function's wiki, definitions, and settings and issue commands to manage metadata (including REFRESH and FORGET ). |
EXECUTE |
|
MANAGE GRANTS | Grant and revoke privileges on the UDF. |
OWNERSHIP | The privileges provided by ownership depend on your configuration.
|
View Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER |
|
DELETE | Execute the delete operation (views created from Apache Iceberg tables only). |
INSERT | Execute the insert operation (views created from Apache Iceberg tables only). |
MANAGE GRANTS | Grant and revoke privileges on the view, including the ability to transfer ownership using the GRANT OWNERSHIP command. |
OWNERSHIP | The privileges provided by ownership depend on your configuration.
|
READ METADATA | View the following metadata for the view:
|
SELECT |
|
TRUNCATE | Execute the truncate operation (views created from Apache Iceberg tables only). |
UPDATE | Execute the update operation (views created from Apache Iceberg tables only). |
User Privileges
PRIVILEGE | DESCRIPTION |
---|---|
ALTER | Set a new password for the user and change the user's type from local (internal) to external.
|
OWNERSHIP | Take all actions on the user, including setting a new password, changing the user type from local (internal) to external, granting and revoking user privileges, and transferring ownership using the GRANT OWNERSHIP SQL command.
|
Role Privileges
PRIVILEGE | DESCRIPTION |
---|---|
OWNERSHIP | Take all actions on the role, including adding and removing role members, granting and revoking role privileges, and transferring ownership using the GRANT OWNERSHIP SQL command.
|
ALL Privilege
The ALL privilege is available on all objects in Dremio. Granting the ALL privilege on an object grants the user or role all possible privileges, except OWNERSHIP, on the object.
The ALL privilege grants a static set of privileges that includes only the privileges that exist when you run the grant command. ALL privilege grants are not automatically updated to include new privileges that become available later.
Revoking the ALL privilege on a parent object does not change any privileges that are directly assigned on child objects. For example, if you grant the SELECT privilege on Table 1 in Folder A to User 1 and then grant the ALL privilege on Folder A to User 1, User 1 inherits all privileges on Table 1. If you later revoke the ALL privilege on Folder A for User 1, User 1 retains the SELECT privilege on Table 1.