permissions: fix doc comment text width

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-28 11:45:21 +02:00
parent 47acc8dc8f
commit e98ca77777

View File

@ -23,9 +23,8 @@ pub enum Permission {
Group(&'static str),
/// Use a parameter value as userid to run sub-permission tests.
WithParam(&'static str, &'static Permission),
/// Check privilege/role on the specified path. The boolean
/// attribute specifies if you want to allow partial matches (u64
/// interpreted as bitmask).
/// Check privilege/role on the specified path. The boolean attribute specifies if you want to
/// allow partial matches (u64 interpreted as bitmask).
Privilege(&'static [&'static str], u64, bool),
/// Allow access if all sub-permissions match
And(&'static [&'static Permission]),