api2/tape: add notify_user to backup(-jobs) and restore api calls

so that a user can be given that will be notified for
manual intervention (e.g. inserting a tape)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-03-05 14:10:19 +01:00
committed by Dietmar Maurer
parent be8adca115
commit c9793d47f9
5 changed files with 33 additions and 10 deletions

View File

@ -397,7 +397,7 @@ pub fn send_updates_available(
}
/// Lookup users email address
fn lookup_user_email(userid: &Userid) -> Option<String> {
pub fn lookup_user_email(userid: &Userid) -> Option<String> {
use crate::config::user::{self, User};