mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat(user_role): Add APIs for user roles (#3013)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -1,5 +1,6 @@ | ||||
| #[cfg(feature = "olap")] | ||||
| pub mod user; | ||||
| pub mod user_role; | ||||
|  | ||||
| // ID generation | ||||
| pub(crate) const ID_LENGTH: usize = 20; | ||||
| @ -64,7 +65,6 @@ pub const JWT_TOKEN_TIME_IN_SECS: u64 = 60 * 60 * 24 * 2; // 2 days | ||||
|  | ||||
| #[cfg(feature = "email")] | ||||
| pub const EMAIL_TOKEN_TIME_IN_SECS: u64 = 60 * 60 * 24; // 1 day | ||||
| pub const ROLE_ID_ORGANIZATION_ADMIN: &str = "org_admin"; | ||||
|  | ||||
| #[cfg(feature = "olap")] | ||||
| pub const VERIFY_CONNECTOR_ID_PREFIX: &str = "conn_verify"; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user