ClickHouse/tests/queries/0_stateless/01293_create_role.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-06-01 21:43:16 +00:00
-- default
CREATE ROLE r1_01293
-- same as default
CREATE ROLE r2_01293
-- rename
CREATE ROLE r2_01293_renamed
-- host after @
CREATE ROLE r1_01293
CREATE ROLE r1_01293
CREATE ROLE `r2_01293@%.myhost.com`
CREATE ROLE `r2_01293@%.myhost.com`
-- settings
CREATE ROLE r1_01293
CREATE ROLE r2_01293 SETTINGS PROFILE default
CREATE ROLE r3_01293 SETTINGS max_memory_usage = 5000000
CREATE ROLE r4_01293 SETTINGS max_memory_usage MIN 5000000
CREATE ROLE r5_01293 SETTINGS max_memory_usage MAX 5000000
2022-09-12 22:12:40 +00:00
CREATE ROLE r6_01293 SETTINGS max_memory_usage CONST
2020-06-01 21:43:16 +00:00
CREATE ROLE r7_01293 SETTINGS max_memory_usage WRITABLE
2022-09-12 22:12:40 +00:00
CREATE ROLE r8_01293 SETTINGS max_memory_usage = 5000000 MIN 4000000 MAX 6000000 CONST
2020-06-01 21:43:16 +00:00
CREATE ROLE r9_01293 SETTINGS PROFILE default, max_memory_usage = 5000000 WRITABLE
CREATE ROLE r1_01293 SETTINGS readonly = 1
CREATE ROLE r2_01293 SETTINGS readonly = 1
CREATE ROLE r3_01293
-- multiple roles in one command
CREATE ROLE r1_01293
CREATE ROLE r2_01293
CREATE ROLE r1_01293 SETTINGS readonly = 1
CREATE ROLE r2_01293 SETTINGS readonly = 1
-- system.roles
r1_01293 local directory
2020-06-01 21:43:16 +00:00
-- system.settings_profile_elements
\N \N r1_01293 0 readonly 1 \N \N \N \N
\N \N r2_01293 0 \N \N \N \N \N default
\N \N r3_01293 0 max_memory_usage 5000000 4000000 6000000 WRITABLE \N
\N \N r4_01293 0 \N \N \N \N \N default
\N \N r4_01293 1 max_memory_usage 5000000 \N \N \N \N
\N \N r4_01293 2 readonly 1 \N \N \N \N