User & Role
This page provides a comprehensive overview of user and role operations in TiDB Cloud Lake, organized by functionality for easy reference.
User Management
Role Management
Privilege Management
| Command | Description |
|---|
| GRANT | Assigns privileges to roles |
| REVOKE | Removes privileges from roles |
| SHOW GRANTS | Shows role grants and role assignments |
Note
Proper user and role management is essential for database security. Always follow the principle of least privilege when granting permissions.