Skip to main content
In Firebolt, a database is a logical container that organizes your data warehouse by holding components such as tables, views, indexes, and other database objects, as shown in the following diagram:
Database-level permissions define what actions roles can perform within a database and its associated objects.

Database-level privileges

Examples of granting database permissions

USAGE permission

The following code example grants the role developer_role access to use the specified database:

MODIFY permission

The following code example gives the role developer_role permission to alter properties or drop the specified database:

USAGE ANY SCHEMA permission

The following code example grants the role developer_role access to all current and future schemas within the specified database:

VACUUM ANY permission

The following code example gives the role developer_role permission to run VACUUM operations on all current and future tables in the specified database:

ALL permissions

The following code example gives the role developer_role all the direct permissions over database database-1: