hierachy: add lifetime to ListAccessibleBackupGroups so that owner can be ref

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2022-05-13 16:48:56 +02:00
parent 74391d1c32
commit de27ebc6b6
3 changed files with 7 additions and 7 deletions

View File

@ -854,7 +854,7 @@ pub fn verify(
failed_dirs
} else {
let owner = if owner_check_required {
Some(auth_id)
Some(&auth_id)
} else {
None
};