mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 23:47:28 +00:00
AssumeRoleHandle done
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ impl Cache {
|
||||
|
||||
impl CacheInner {
|
||||
#[inline]
|
||||
fn get_user<'a>(&self, user_name: &'a str) -> Option<&UserIdentity> {
|
||||
pub fn get_user<'a>(&self, user_name: &'a str) -> Option<&UserIdentity> {
|
||||
self.users.get(user_name).or_else(|| self.sts_accounts.get(user_name))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user