ClickHouse/src/Access
Azat Khuzhin 4e76629aaf Fixes for -Wshorten-64-to-32
- lots of static_cast
- add safe_cast
- types adjustments
  - config
  - IStorage::read/watch
  - ...
- some TODO's (to convert types in future)

P.S. That was quite a journey...

v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
..
Common Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
examples Fix clang-tidy in utils/examples 2022-07-29 11:36:51 +03:00
tests Fix tests. 2022-06-20 03:44:49 +02:00
AccessBackup.cpp More detailed error messages. 2022-07-03 14:20:19 +02:00
AccessBackup.h More detailed error messages. 2022-07-03 14:20:19 +02:00
AccessChangesNotifier.cpp Rework notifications used in access management. 2022-05-21 10:15:39 +02:00
AccessChangesNotifier.h Rework notifications used in access management. 2022-05-21 10:15:39 +02:00
AccessControl.cpp Merge branch 'master' into mandatory-identification 2022-09-21 12:18:17 +02:00
AccessControl.h Merge branch 'master' into mandatory-identification 2022-09-21 12:18:17 +02:00
AccessEntityIO.cpp abort instead of __builtin_unreachable in debug builds 2022-10-07 21:49:08 +02:00
AccessEntityIO.h refactoring ParserAttachAccessEntity 2022-04-20 22:57:44 -04:00
AccessRights.cpp abort instead of __builtin_unreachable in debug builds 2022-10-07 21:49:08 +02:00
AccessRights.h Add option enabling that SELECT from the system database requires grant. 2022-07-15 15:44:25 +02:00
Authentication.cpp Pass const std::string_view & by value, not by reference 2022-07-14 16:11:57 +00:00
Authentication.h A few improvements in the implementation of SSL certificate authentication. 2022-02-21 07:41:02 +03:00
CachedAccessChecking.cpp Add helper class to cache the result of checking access. 2022-02-02 22:22:41 +07:00
CachedAccessChecking.h Add helper class to cache the result of checking access. 2022-02-02 22:22:41 +07:00
CMakeLists.txt Add KerberosInit class; add kerberos_init console example; modify HDFSCommon.cpp 2022-06-03 12:06:31 +03:00
ContextAccess.cpp Minor: remove unnecessary ContextAccess::make() method 2022-08-30 08:06:42 +00:00
ContextAccess.h Minor: remove unnecessary ContextAccess::make() method 2022-08-30 08:06:42 +00:00
Credentials.cpp A few improvements in the implementation of SSL certificate authentication. 2022-02-21 07:41:02 +03:00
Credentials.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
DiskAccessStorage.cpp Add comments. 2022-09-18 12:44:05 +02:00
DiskAccessStorage.h Add SYSTEM RELOAD USERS command. 2022-09-18 12:44:00 +02:00
EnabledQuota.cpp more strict quota for written bytes 2022-04-01 15:02:49 +00:00
EnabledQuota.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
EnabledRoles.cpp Rework notifications used in access management. 2022-05-21 10:15:39 +02:00
EnabledRoles.h Rework notifications used in access management. 2022-05-21 10:15:39 +02:00
EnabledRolesInfo.cpp
EnabledRolesInfo.h Add new functions currentRoles(), enabledRoles(), defaultRoles(). 2021-07-24 23:20:40 +03:00
EnabledRowPolicies.cpp Rename RowPolicy::ConditionType -> RowPolicyFilterType and move it to Access/Common. 2021-11-19 00:14:23 +03:00
EnabledRowPolicies.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
EnabledSettings.cpp Add new functions currentProfiles(), enabledProfiles(), defaultProfiles(). 2021-07-22 22:20:53 +03:00
EnabledSettings.h Support for Clang Thread Safety Analysis (TSA) 2022-06-20 16:13:25 +02:00
ExternalAuthenticators.cpp Support for Clang Thread Safety Analysis (TSA) 2022-06-20 16:13:25 +02:00
ExternalAuthenticators.h Support for Clang Thread Safety Analysis (TSA) 2022-06-20 16:13:25 +02:00
GrantedRoles.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
GrantedRoles.h More accurate access checking for RESTORE. 2022-06-19 11:26:41 +02:00
GSSAcceptor.cpp Remove useless code 2021-11-20 10:06:28 +03:00
GSSAcceptor.h Consolidate config_core.h into config.h 2022-09-28 13:31:57 +00:00
IAccessEntity.cpp
IAccessEntity.h Add support for setting 'allow_backup' to skip access entities from putting to backup. 2022-06-19 12:49:50 +02:00
IAccessStorage.cpp abort instead of __builtin_unreachable in debug builds 2022-10-07 21:49:08 +02:00
IAccessStorage.h Add SYSTEM RELOAD USERS command. 2022-09-18 12:44:00 +02:00
KerberosInit.cpp Don't use std::unique_lock unless we have to 2022-06-28 19:19:06 +00:00
KerberosInit.h Consolidate config_core.h into config.h 2022-09-28 13:31:57 +00:00
LDAPAccessStorage.cpp Merge remote-tracking branch 'origin/master' into clang-tsa 2022-06-20 16:39:32 +02:00
LDAPAccessStorage.h Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
LDAPClient.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
LDAPClient.h Consolidate config_core.h into config.h 2022-09-28 13:31:57 +00:00
MemoryAccessStorage.cpp Add comments. 2022-09-18 12:44:05 +02:00
MemoryAccessStorage.h Move common code from MemoryAccessStorage and DiskAccessStorage to IAccessStorage. 2022-09-18 12:17:15 +02:00
MultipleAccessStorage.cpp Add SYSTEM RELOAD USERS command. 2022-09-18 12:44:00 +02:00
MultipleAccessStorage.h Add SYSTEM RELOAD USERS command. 2022-09-18 12:44:00 +02:00
Quota.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
Quota.h Add support for setting 'allow_backup' to skip access entities from putting to backup. 2022-06-19 12:49:50 +02:00
QuotaCache.cpp Add SYSTEM RELOAD USERS command. 2022-09-18 12:44:00 +02:00
QuotaCache.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
QuotaUsage.cpp
QuotaUsage.h Rename Quota::KeyType -> QuotaKeyType and move it to Access/Common. 2021-11-19 00:14:23 +03:00
ReplicatedAccessStorage.cpp Add retries for the initialization of ReplicatedAccessStorage. 2022-09-18 12:44:05 +02:00
ReplicatedAccessStorage.h Add retries for the initialization of ReplicatedAccessStorage. 2022-09-18 12:44:05 +02:00
Role.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
Role.h Fix style. 2022-06-19 15:58:26 +02:00
RoleCache.cpp Rework notifications used in access management. 2022-05-21 10:15:39 +02:00
RoleCache.h Use AccessExpireCache instead of ExpireCache. 2022-05-21 10:15:44 +02:00
RolesOrUsersSet.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
RolesOrUsersSet.h Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
RowPolicy.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
RowPolicy.h Add support for setting 'allow_backup' to skip access entities from putting to backup. 2022-06-19 12:49:50 +02:00
RowPolicyCache.cpp Users without assigned row policies can view rows now. 2022-05-07 14:50:24 +02:00
RowPolicyCache.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
SettingsConstraints.cpp explicit ctor 2022-09-19 10:52:08 +00:00
SettingsConstraints.h explicit ctor 2022-09-19 10:52:08 +00:00
SettingsConstraintsAndProfileIDs.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
SettingsProfile.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
SettingsProfile.h Add support for setting 'allow_backup' to skip access entities from putting to backup. 2022-06-19 12:49:50 +02:00
SettingsProfileElement.cpp review fixes 2022-09-15 11:34:14 +00:00
SettingsProfileElement.h review fixes 2022-09-15 11:34:14 +00:00
SettingsProfilesCache.cpp Move checking if parent profile is allowed to UsersConfigAccessStorage. 2022-07-01 14:46:35 +02:00
SettingsProfilesCache.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
SettingsProfilesInfo.cpp Rename AccessControlManager -> AccessControl. 2021-11-02 14:06:20 +03:00
SettingsProfilesInfo.h Fix clang-tidy warnings in Access folder 2022-03-14 18:17:35 +00:00
User.cpp Implement backup/restore for ACL system tables (system.users, system.roles, etc.) 2022-06-17 18:14:31 +02:00
User.h Add support for setting 'allow_backup' to skip access entities from putting to backup. 2022-06-19 12:49:50 +02:00
UsersConfigAccessStorage.cpp Merge pull request #40631 from ClickHouse/readonly-settings-allow 2022-09-20 02:18:14 +02:00
UsersConfigAccessStorage.h Add SYSTEM RELOAD USERS command. 2022-09-18 12:44:00 +02:00