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), Group(&'static str),
/// Use a parameter value as userid to run sub-permission tests. /// Use a parameter value as userid to run sub-permission tests.
WithParam(&'static str, &'static Permission), WithParam(&'static str, &'static Permission),
/// Check privilege/role on the specified path. The boolean /// Check privilege/role on the specified path. The boolean attribute specifies if you want to
/// attribute specifies if you want to allow partial matches (u64 /// allow partial matches (u64 interpreted as bitmask).
/// interpreted as bitmask).
Privilege(&'static [&'static str], u64, bool), Privilege(&'static [&'static str], u64, bool),
/// Allow access if all sub-permissions match /// Allow access if all sub-permissions match
And(&'static [&'static Permission]), And(&'static [&'static Permission]),