Skip to content

CREATE USER/ROLE still possible in read-only session #91713

@smcvey

Description

@smcvey

Describe the problem

Despite running a read-only session, it's still possible to create and drop users/roles

root@:26257/defaultdb> set default_transaction_read_only = on;                                                                                                                                        SET

root@:26257/defaultdb> create user test with password 'testing';
CREATE ROLE

Epic CRDB-17785
Jira issue: CRDB-21392

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions