access-control: cleanup use statements
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
c8b975799b
commit
140fc0ad08
@ -1,10 +1,10 @@
|
||||
use std::collections::HashMap;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::OnceLock;
|
||||
|
||||
use anyhow::{format_err, Error};
|
||||
|
||||
use proxmox_auth_api::types::{Authid, Userid};
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
path::{Path, PathBuf},
|
||||
sync::OnceLock,
|
||||
};
|
||||
|
||||
static ACCESS_CONF: OnceLock<&'static dyn AccessControlConfig> = OnceLock::new();
|
||||
static ACCESS_CONF_DIR: OnceLock<PathBuf> = OnceLock::new();
|
||||
|
@ -1,11 +1,11 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use anyhow::{bail, format_err, Error};
|
||||
use proxmox_product_config::{open_api_lockfile, replace_config, ApiLockGuard};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::{from_value, Value};
|
||||
|
||||
use proxmox_auth_api::types::Authid;
|
||||
use proxmox_product_config::{open_api_lockfile, replace_config, ApiLockGuard};
|
||||
|
||||
use crate::init::{token_shadow, token_shadow_lock};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
use proxmox_auth_api::types::{Authid, Userid, PROXMOX_TOKEN_ID_SCHEMA};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use proxmox_auth_api::types::{Authid, Userid, PROXMOX_TOKEN_ID_SCHEMA};
|
||||
use proxmox_schema::{
|
||||
api,
|
||||
api_types::{COMMENT_SCHEMA, SINGLE_LINE_COMMENT_FORMAT},
|
||||
|
Loading…
Reference in New Issue
Block a user