implement the snapshots on demand

This commit is contained in:
Tamo 2023-09-11 11:00:05 +02:00
parent e9b62aacb3
commit e8c9367686
6 changed files with 144 additions and 0 deletions

View file

@ -129,6 +129,9 @@ impl HeedAuthStore {
Action::DumpsAll => {
actions.insert(Action::DumpsCreate);
}
Action::SnapshotsAll => {
actions.insert(Action::SnapshotsCreate);
}
Action::TasksAll => {
actions.extend([Action::TasksGet, Action::TasksDelete, Action::TasksCancel]);
}