Denis Glazachev
|
e8144976fe
|
Merge branch 'master' into ldap-per-user-authentication
|
2020-05-31 15:09:16 +04:00 |
|
Denis Glazachev
|
165dc4e109
|
Disable system static OpenLDAP linking support (due to fPIC mismatch)
|
2020-05-31 15:04:56 +04:00 |
|
Alexey Milovidov
|
25f941020b
|
Remove namespace pollution
|
2020-05-31 00:57:37 +03:00 |
|
Denis Glazachev
|
246900c1ac
|
Compilation fix
|
2020-05-29 18:33:50 +04: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 |
|
Denis Glazachev
|
9fb0a95c75
|
Compilation fix: add missing "/include"
Style fix
|
2020-05-29 16:14:42 +04:00 |
|
Denis Glazachev
|
d9ca9cd9b2
|
Compilation fix
Typo fix
|
2020-05-29 14:00:12 +04:00 |
|
Denis Glazachev
|
f1cfc7b472
|
Rename LDAP_PASSWORD to LDAP_SERVER and use "ldap_server" as a string key
Some refactoring
|
2020-05-29 11:47:01 +04:00 |
|
Vitaly Baranov
|
2d12b4d3ac
|
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
|
2020-05-29 09:54:27 +03:00 |
|
Denis Glazachev
|
f9d4136792
|
Merge branch 'master' into ldap-per-user-authentication
|
2020-05-29 10:52:44 +04: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 |
|
Denis Glazachev
|
d4fd018715
|
Fix linking errors in parser-related test executables
|
2020-05-28 02:54:14 +04:00 |
|
Denis Glazachev
|
2863de750e
|
Merge branch 'master' into ldap-per-user-authentication
|
2020-05-28 01:30:52 +04:00 |
|
Denis Glazachev
|
d74f1357d4
|
Add LDAP authentication support
|
2020-05-28 01:06:33 +04: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 |
|
ageraab
|
cb24d47472
|
Merge branch 'master' into mongo
|
2020-05-16 02:56:22 +03:00 |
|
bobrovskij artemij
|
95677432e5
|
MongoDB engine (read-only)
|
2020-05-14 23:59:03 +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 |
|
Vitaly Baranov
|
d064ddfe13
|
Disable MemoryAccessStorage.
|
2020-04-07 23:31:59 +03:00 |
|
Vitaly Baranov
|
423fa5087a
|
Add SHOW_USERS(SHOW ROLES, etc.) privileges.
|
2020-04-07 23:20:38 +03:00 |
|
Vitaly Baranov
|
b4d7ef390c
|
Rename some access types: add ALTER and SYSTEM prefixes.
|
2020-04-07 23:20:38 +03:00 |
|
Vitaly Baranov
|
f53b4ad3a8
|
Replace access types "TRUNCATE_VIEW" and "TRUNCATE_TABLE" with "TRUNCATE".
|
2020-04-07 23:20:38 +03:00 |
|
Vitaly Baranov
|
e5d8f05251
|
Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias.
|
2020-04-07 23:20:38 +03:00 |
|
Vitaly Baranov
|
c2f5e3c4ad
|
Improve declaration of access rights: single place in code instead of three.
|
2020-04-07 23:20:38 +03:00 |
|
alesapin
|
1cb072d58a
|
Merge branch 'master' into alter_rename_column
|
2020-04-06 11:40:27 +03:00 |
|
Ivan Lezhankin
|
06446b4f08
|
dbms/ → src/
|
2020-04-03 18:14:31 +03:00 |
|