[pbs-devel] [PATCH proxmox-backup] api: prune config: fix permission description
Christian Ebner
c.ebner at proxmox.com
Wed Dec 13 10:50:16 CET 2023
To delete a prune job, 'Datastore.Modify' permissions are required,
not 'Datastore.Verify'. While the permissions are checked correctly,
the description was not correct.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
src/api2/config/prune.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api2/config/prune.rs b/src/api2/config/prune.rs
index 4f7ce39c..81202180 100644
--- a/src/api2/config/prune.rs
+++ b/src/api2/config/prune.rs
@@ -344,7 +344,7 @@ pub fn update_prune_job(
},
access: {
permission: &Permission::Anybody,
- description: "Requires Datastore.Verify on job's datastore.",
+ description: "Requires Datastore.Modify on job's datastore.",
},
)]
/// Remove a prune job configuration
--
2.39.2
More information about the pbs-devel
mailing list