mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-15 06:02:12 +00:00
router: format doc comment, use full text width
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
43b5f1ae3e
commit
de5d5f7618
@ -86,9 +86,8 @@ impl<T: UserInformation> UserInformation for std::sync::Arc<T> {
|
|||||||
|
|
||||||
/// Example implementation to check access permissions
|
/// Example implementation to check access permissions
|
||||||
///
|
///
|
||||||
/// This implementation supports URI variables in Privilege path
|
/// This implementation supports URI variables in Privilege path components, i.e. '{storage}'.
|
||||||
/// components, i.e. '{storage}'. We replace this with actual
|
/// We replace this with actual parameter values before calling lookup_privs().
|
||||||
/// parameter values before calling lookup_privs().
|
|
||||||
pub fn check_api_permission(
|
pub fn check_api_permission(
|
||||||
perm: &Permission,
|
perm: &Permission,
|
||||||
userid: Option<&str>,
|
userid: Option<&str>,
|
||||||
|
Loading…
Reference in New Issue
Block a user