From a0fffa7eda2b04ffcc42f36e7d76445a0f101642 Mon Sep 17 00:00:00 2001 From: kailixu Date: Thu, 9 May 2024 09:44:09 +0800 Subject: [PATCH] enh: grant support s3/active-active/dual-replica/db_encryption --- include/common/tgrant.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/common/tgrant.h b/include/common/tgrant.h index 5a2ed58045..7e7162204e 100644 --- a/include/common/tgrant.h +++ b/include/common/tgrant.h @@ -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);