sundy-li
|
0a4af8f0a7
|
add SYSTEM DROP REPLICA
|
2020-06-23 12:12:30 +08: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
|
4bd00b02e2
|
Improve syntax of CREATE QUOTA. Now resource types and key types could be written with underscores.
Also rename columns key_type=>keys and source=>storage in table system.quotas.
|
2020-06-15 20:10:34 +03:00 |
|
Vitaly Baranov
|
7d1951a79b
|
Improve messages for errors in access storages.
|
2020-06-15 20:10:34 +03:00 |
|
Vitaly Baranov
|
92b9f4a88d
|
Rename ExtendedRoleSet => RolesOrUsersSet.
|
2020-06-15 20:10:34 +03:00 |
|
Vitaly Baranov
|
9f31184d76
|
Support for multiple names in one CREATE/ALTER command.
|
2020-06-15 20:10:28 +03:00 |
|
Vitaly Baranov
|
3ffcb8e790
|
Fix casting values of settings while reading profiles from users.xml.
|
2020-06-15 01:44:25 +03:00 |
|
Vitaly Baranov
|
ca2fb59321
|
Fix calculating full names of row policies.
|
2020-06-15 01:44:25 +03:00 |
|
tavplubix
|
686c0539db
|
Merge pull request #11487 from ClickHouse/improve_dns_cache
Use DNSResolver to check if user is allowed to connect from an address
|
2020-06-07 19:55:03 +03:00 |
|
Alexander Tokmakov
|
0cf8015f4a
|
use DNSResolver to check if user is allowed to connect
|
2020-06-07 00:02:29 +03:00 |
|
Alexander Kuzmenkov
|
1c33918f07
|
style
|
2020-06-03 17:17:41 +03:00 |
|
Alexander Kuzmenkov
|
07e4bb7050
|
Remove assorted synonyms of LOGICAL_ERROR.
We don't need any special handling for them on the client, and, on the
contrary, have to handle them as logical errors in tests.
|
2020-06-03 16:18:42 +03:00 |
|
Alexey Milovidov
|
25f941020b
|
Remove namespace pollution
|
2020-05-31 00:57:37 +03:00 |
|
alexey-milovidov
|
304c6a1ee3
|
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
|
2020-05-29 16:24:42 +03:00 |
|
Vitaly Baranov
|
2d12b4d3ac
|
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
|
2020-05-29 09:54:27 +03:00 |
|
Vitaly Baranov
|
d7cc703233
|
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
Show authentication type in system.users table
|
2020-05-28 20:20:41 +03:00 |
|
Vitaly Baranov
|
98172deffc
|
Show authentication type in table system.users and while executing SHOW CREATE USER query.
|
2020-05-28 08:34:10 +03:00 |
|
Maxim Akhmedov
|
e09bcb4290
|
Make possible adding nested storages to MultipleAccessStorage in run-time.
|
2020-05-26 17:05:06 +03:00 |
|
Vitaly Baranov
|
2c8a355f19
|
Merge pull request #11081 from vitlibar/fix-no-password-mode
Fix settings NO_PASSWORD authentication mode in users.xml.
|
2020-05-26 14:20:34 +03:00 |
|
Vitaly Baranov
|
eeb4cbc433
|
Fix settings NO_PASSWORD authentication mode in users.xml.
|
2020-05-25 11:35:26 +03:00 |
|
Alexey Milovidov
|
7e1813825b
|
Return old names of macros
|
2020-05-24 01:24:01 +03:00 |
|
Alexey Milovidov
|
9d24908e53
|
Progress on task
|
2020-05-23 20:52:11 +03:00 |
|
Alexey Milovidov
|
241f8c5431
|
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+ \+ "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+) \+ "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5", \4);/'
|
2020-05-23 20:10:21 +03:00 |
|
Alexey Milovidov
|
f69cbdcbfc
|
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
|
2020-05-23 20:09:37 +03:00 |
|
Alexey Milovidov
|
f68d1ceb4f
|
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}\7{}", \4, \6, \8);/'
|
2020-05-23 20:02:09 +03:00 |
|
Alexey Milovidov
|
8042e5febe
|
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}\5{}", \4, \6);/'
|
2020-05-23 19:58:15 +03:00 |
|
Alexey Milovidov
|
8d2e80a5e2
|
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+"\)' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+, "[^"]+")\)/\1_FORMATTED(\2)/'
|
2020-05-23 19:42:39 +03:00 |
|
Vitaly Baranov
|
bf2f38881d
|
Fix compilation.
|
2020-05-14 14:12:20 +03:00 |
|
Vitaly Baranov
|
c30587196a
|
Add system tables for users, roles and grants.
|
2020-05-14 14:12:20 +03:00 |
|
Vitaly Baranov
|
a14f322723
|
Add system tables for settings profiles.
|
2020-05-14 14:12:15 +03:00 |
|
Vitaly Baranov
|
5b84121d81
|
Improve system tables for quotas. Remove function currentQuota().
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
e64e2ebdf6
|
Improve system table for row policies. Remove function currentRowPolicies().
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
dd8b29b4fb
|
Use enum Type instead of std::type_index to represent the type of IAccessEntity.
This change simplifies handling of access entities in access storages.
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
b6fe726777
|
Rename row policy's 'name' to 'short_name', 'full_name' to 'name'.
This change simplifies the interface of IAccesEntity.
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
6f15a0d443
|
Improve the function range() to allow iterating through enum values.
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
c7213ab607
|
Use boost::flat_set instead of vector to store current and enabled roles.
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
b93a15ef36
|
Refactoring of settings profiles to store setting_index instead of setting_name.
|
2020-05-13 19:40:48 +03:00 |
|
Vitaly Baranov
|
66e348a93f
|
Refactoring of getting information about access rights.
|
2020-05-13 19:40:33 +03:00 |
|
Alexander Tokmakov
|
9ca144cab9
|
drop access cache on DROP DNS CACHE
|
2020-05-01 01:29:47 +03:00 |
|
Alexey Milovidov
|
be22a4b94e
|
Checkpoint
|
2020-04-22 08:39:31 +03:00 |
|
alexey-milovidov
|
17e7d4d88a
|
Merge pull request #10307 from abyss7/arcadia-4
Changes for auto-sync with Arcadia
|
2020-04-17 05:08:34 +03:00 |
|
Ivan Lezhankin
|
e230632645
|
Changes required for auto-sync with Arcadia
|
2020-04-16 15:31:57 +03:00 |
|
Alexey Milovidov
|
cdeda4ab91
|
Fix usage of max_parser_depth setting; remove harmful default function arguments
|
2020-04-16 04:06:10 +03:00 |
|
Alexey Milovidov
|
a4c2e9a599
|
Whitespace
|
2020-04-15 05:12:50 +03:00 |
|
Vitaly Baranov
|
2e55d44e57
|
Fix using the current database for access checking when the database isn't specified.
|
2020-04-11 20:13:56 +03:00 |
|
Vitaly Baranov
|
4d93577791
|
PREWHERE can be used now by user without row filtering.
|
2020-04-09 10:22:51 +03:00 |
|
Vitaly Baranov
|
23ac1ee87c
|
readonly user now can execute SHOW CREATE for access entities.
|
2020-04-09 10:22:51 +03:00 |
|
Vitaly Baranov
|
e573549945
|
Rework access rights for table functions.
|
2020-04-07 23:31:59 +03:00 |
|
Vitaly Baranov
|
42b8ed3ec6
|
Implement "ON CLUSTER" clause for access control SQL.
|
2020-04-07 23:31:59 +03:00 |
|
Vitaly Baranov
|
b77e0a5b4e
|
Avoid writing "HOST ANY" if the host is any by default.
|
2020-04-07 23:31:59 +03:00 |
|