Ilya Golshtein
c3ce0aa3ba
orphaned role - cache expiration time and timeout in tests decreased
2023-03-20 23:21:25 +01:00
Ilya Golshtein
c9691b943d
orphaned role - make stylecheck happy
2023-03-20 23:21:25 +01:00
Ilya Golshtein
e1d1ead941
orphaned role - tests only
2023-03-20 23:21:25 +01:00
Nicolae Vartolomei
32b9959dec
Allow a user to inspect grants from granted roles
2022-05-18 10:44:18 +00:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo
2022-03-22 17:39:58 +01:00
Maksim Kita
7a6f282765
Fixed tests
2022-02-04 19:52:18 +00:00
Vitaly Baranov
22728cbca0
Add new functions currentRoles(), enabledRoles(), defaultRoles().
2021-07-24 23:20:40 +03:00
Vitaly Baranov
db97921b5b
Changing default roles affects new sessions only.
2021-07-23 23:23:14 +03:00
Vitaly Baranov
d0412994a2
Fix SET ROLE.
2021-07-22 17:41:52 +03:00
Vitaly Baranov
6a58bb5c23
Enable rbac tests with thread sanitizer.
2020-10-13 01:03:51 +03:00
alesapin
106040a720
Disable rbac tests with thread sanitizer
2020-10-12 10:04:46 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 ( #15007 )
2020-10-02 19:54:07 +03:00
bharatnc
b75963d370
Format and optimize imports in integration test files
...
This PR formats all the `*.py` files found under the `tests/integration`
folder. It also reorders the imports and cleans up a bunch of unused
imports.
The formatting also takes care of other things like wrapping lines and
fixing spaces and indents such that the tests look more readable.
2020-09-15 23:10:54 -07:00
Vitaly Baranov
ad03ff3887
Rename storages users.xml=>users_xml, disk=>local_directory.
2020-08-16 16:42:57 +03:00
Vitaly Baranov
03b36c262e
Improve REVOKE command: now it requires only grant/admin option for only
...
access which will be revoked.
REVOKE ALL FROM user1 now revokes all granted roles.
2020-07-02 12:54:24 +03:00
Vitaly Baranov
c39eb8f71b
Fix partial revokes (complex cases).
2020-06-30 18:47:02 +03:00
Vitaly Baranov
a40885fa84
Add new command SHOW ACCESS.
2020-06-15 22:07:47 +03:00
Vitaly Baranov
9fe47df2e8
Support multiple users/roles in SHOW CREATE USER(ROLE, etc.) and SHOW GRANTS FOR commands.
...
Support syntax "SHOW CREATE USER ALL" and "SHOW GRANTS FOR ALL".
2020-06-15 22:07:47 +03:00
Vitaly Baranov
4187edd9f9
Split integration test 'test_grant_and_revoke' into two tests.
2020-06-15 22:07:47 +03:00