enh: grant support s3/active-active/dual-replica/db_encryption

This commit is contained in:
kailixu 2024-05-09 09:44:09 +08:00
parent 9e21eacf26
commit a0fffa7eda
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ typedef enum {
TSDB_GRANT_VIEW,
TSDB_GRANT_MULTI_TIER,
TSDB_GRANT_BACKUP_RESTORE,
TSDB_GRANT_OBJECT_STORAGE,
TSDB_GRANT_ACTIVE_ACTIVE,
TSDB_GRANT_DUAL_REPLICA_HA,
TSDB_GRANT_DB_ENCRYPTION,
} EGrantType;
int32_t checkAndGetCryptKey(const char *encryptCode, const char *machineId, char **key);