User Access Management
In Cloud Trino, user access management is performed by adding rules for actions with objects: catalogs, schemas, and tables. These rules define which SQL commands the user can execute. For more information about how rules work and the privileges for executing SQL commands, see the article Access rule specifics.
-
Go to the management console VK Cloud.
-
Go to Data Platform → Service instances.
-
Click the name of the required instance.
-
Go to the Accesses tab.
-
Click the Add rule button.
-
Select the access type and set the rule parameters:
CatalogSchemaTable-
Name: an arbitrary name for the rule.
-
Users: the list of users the rule applies to. By default, the rule applies to all users.
-
Privileges:
None— deny access.All— full access to all operations.Read only— read-only access.
-
Catalogs: the names of catalogs the rule applies to. By default, the rule applies to all catalogs. They are entered manually and must match the catalog names that can be found in the connection settings or using the query:
SHOW CATALOGS;
-
-
Click the Add button.
-
Go to the management console VK Cloud.
-
Go to Data Platform → Service instances.
-
Click the name of the required instance.
-
Go to the Accesses tab.
-
Review the access rules for catalogs, schemas, and tables.
Rules are applied in order from top to bottom. Place general rules higher, and more specific rules below the general ones.
-
Go to the management console VK Cloud.
-
Go to Data Platform → Service instances.
-
Click the name of the required instance.
-
Go to the Accesses tab.
-
Click the Arrange button.
-
Change the order of rules for catalogs, schemas, or tables.
-
Click the Save button.
-
Go to the management console VK Cloud.
-
Go to Data Platform → Service instances.
-
Click the name of the required instance.
-
Go to the Accesses tab.
-
Click
to the right of the rule and select Edit.
-
Edit the rule and click the Save button.
-
Go to the management console VK Cloud.
-
Go to Data Platform → Service instances.
-
Click the name of the required instance.
-
Go to the Accesses tab.
-
Click
to the right of the rule and select Delete.
-
Confirm the rule deletion.