mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
fix: user api checks (#2294)
- [x] Check role during User Creation - [x] Added checks during User Deletion/removal from org
This commit is contained in:
@@ -125,6 +125,7 @@ pub async fn cli() -> Result<bool, anyhow::Error> {
|
||||
last_name: "".to_owned(),
|
||||
is_external: false,
|
||||
},
|
||||
&CONFIG.auth.root_user_email.clone(),
|
||||
)
|
||||
.await?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user