mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2024-12-21 09:34:21 +03:00
config: acl: docs: link to PRIVILEGES with namespace
Otherwise: ``` warning: unresolved link to `PRIVILEGES` --> pbs-config/src/acl.rs:15:71 | 15 | /// Map of pre-defined [Roles](Role) to their associated [privileges](PRIVILEGES) combination | ^^^^^^^^^^ no item named `PRIVILEGES` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
2bacfa7029
commit
61d18bcf9c
@ -12,8 +12,8 @@ use pbs_api_types::{Authid, Role, Userid, ROLE_NAME_NO_ACCESS};
|
||||
|
||||
use crate::{open_backup_lockfile, replace_backup_config, BackupLockGuard};
|
||||
|
||||
/// Map of pre-defined [Roles](Role) to their associated [privileges](PRIVILEGES) combination
|
||||
/// and description.
|
||||
/// Map of pre-defined [Roles](Role) to their associated
|
||||
/// [privileges](pbs_api_types::PRIVILEGES) combination and description.
|
||||
pub static ROLE_NAMES: LazyLock<HashMap<&'static str, (u64, &'static str)>> = LazyLock::new(|| {
|
||||
let mut map = HashMap::new();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user