feat(roles): Add caching for custom roles (#3946)

This commit is contained in:
Mani Chandra
2024-03-05 18:56:09 +05:30
committed by GitHub
parent f6f6a0c0f7
commit 19c502398f
12 changed files with 191 additions and 31 deletions

View File

@ -78,6 +78,8 @@ pub const EMAIL_TOKEN_TIME_IN_SECS: u64 = 60 * 60 * 24; // 1 day
#[cfg(feature = "email")]
pub const EMAIL_TOKEN_BLACKLIST_PREFIX: &str = "BET_";
pub const ROLE_CACHE_PREFIX: &str = "CR_";
#[cfg(feature = "olap")]
pub const VERIFY_CONNECTOR_ID_PREFIX: &str = "conn_verify";
#[cfg(feature = "olap")]