Skip to main content
In Firebolt, a schema is a logical namespace within a database that organizes tables, views, and other objects. Schema-level permissions allow roles to perform specific actions, such as accessing, modifying, or managing objects within a schema.
To perform actions on a schema or its objects, the role must also have the USAGE privilege on the schema’s parent database.

Schema-level privileges

Examples of granting schema permissions

USAGE permission

The following code example grants the role developer_role permission to use the specified schema.

MODIFY permission

The following code example gives the role developer_role permission to alter properties or drop the specified schema.

CREATE permission

The following code example grants the role developer_role the ability to create new objects in the specified schema:

DELETE ANY permission

The following code example gives the role developer_role permission to delete rows and partitions from all current and future tables in the specified schema:

INSERT ANY permission

The following code example grants the role developer_role permission to insert rows into all current and future tables in the specified schema:

UPDATE ANY permission

The following code example gives the role developer_role permission to update rows in all current and future tables in the specified schema:

TRUNCATE ANY permission

The following code example grants the role developer_role the ability to truncate all current and future tables in the specified schema:

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 schema:

MODIFY ANY permission

The following code example grants the role developer_role permission to modify or drop all current and future objects in the specified schema:

SELECT ANY permission

The following code example gives the role developer_role permission to select data from all current and future objects in the specified schema:

ALL permissions

The following code example gives the role developer_role all the direct permissions over schema public: