The concept of Organization user is distinct from Authorization of SQL user/role on clusters is distinct from authorization of CockroachDB Cloud users within CockroachDB Cloud organizations.Learn more: Overview of the CockroachDB Cloud authorization model
For reference documentation and explanation of related concepts, see Security Reference — Authorization.
Create CockroachDB users
Use theCREATE USER and DROP USER statements to create and remove users, the ALTER USER statement to add or change a user’s password and role options, the GRANT and REVOKE statements to manage the user’s privileges, and the SHOW USERS statement to list users.
A new user must be granted the required privileges for each database and table that the user needs to access.
By default, a new user belongs to the
public role and has no privileges other than those assigned to the public role.
