Privilege list
This section describes privileges that are available on different objects.SYSTEM
AI FUNCTION / AI PROVIDER
Note: Calling an AI function requires USAGE on both the function and the selected Provider, including the default Provider. Managing Providers requires SYSTEM OPERATE.
RESOURCE GROUP
RESOURCE
USER
GLOBAL FUNCTION (Global UDFs)
CATALOG
Notes: the database internal catalog cannot be deleted.
DATABASE
TABLE
VIEW
MATERIALIZED VIEW
FUNCTION (Database-level UDFs)
STORAGE VOLUME
Upgrade notes
During an upgrade from v2.x to v3.0, some of your operations may be unable to perform due to the introduction of the new privilege system. The following table describes the changes before and after the upgrade.
In v2.x, the database does not fully implement role-based access control (RBAC). When you assign a role to a user, the database directly grants all the privileges of the role to the user, instead of the role itself. Therefore, the user does not actually own the role.
In v3.0, the database renovates its privilege system. After an upgrade to v3.0, your original roles are retained but there is still no ownership between users and roles. If you want to use the new RBAC system, perform the GRANT operation to assign roles and privileges.