Privilege Categories¶
This page provides a quick reference to SQL privilege categories within a MatrixOne instance (tenant). To create users, bind roles, and perform console operations, see Permissions · MatrixOne. For AI Studio workspace roles and platform privilege points, see User Permissions and Permission Reference. They use a different model.
Key concepts¶
Privileges are granted to roles, and roles are then granted to users. A user without a role cannot perform operations.
Objects have an Owner. The Owner can manage privileges on the object through discretionary access control.
The administrator created with an instance has the broadest management capabilities. Instances cannot access one another’s tenant resources.
Administrator (Account) level¶
Privilege |
Meaning |
|---|---|
|
User lifecycle |
|
Role lifecycle |
|
Database lifecycle |
|
Lists databases in the tenant |
|
Allows connection-side operations that do not depend on a specific object, such as |
|
Manages grants and role inheritance |
|
All tenant-level privileges. |
User level¶
Privilege |
Meaning |
|---|---|
|
Manages the user, including information, password, and deletion, and can grant this privilege onward |
Role level¶
Privilege |
Meaning |
|---|---|
|
Manages the role, including its name, description, and deletion, and can grant this privilege onward |
Database level¶
Privilege |
Meaning |
|---|---|
|
Lists tables in the database |
|
Table lifecycle |
|
Views |
|
Alters tables |
|
All privileges on the database. |
Table level¶
Privilege |
Meaning |
|---|---|
|
Reads, writes, and clears data |
|
Uses the table as a foreign-key target and views its structure with |
|
Creates or drops indexes |
|
All privileges on the table. |
Execution¶
Privilege |
Meaning |
|---|---|
|
Executes a function or stored procedure |
Publication and subscription¶
Data sharing across instances, including multiple instances under the same account. Historically, documentation limits most publication and subscription operations to administrative roles such as moadmin / accountadmin. Refer to the current instance’s role capabilities.
Publisher
Privilege |
Meaning |
|---|---|
|
Publication lifecycle |
|
Views publications |
Subscriber
Privileges related to creating and viewing subscriptions, such as creating a subscription database from a publication and using SHOW SUBSCRIPTIONS, are controlled by administrative roles and product policies. Read-only access to a subscription database still requires database and table privileges such as SELECT.