public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] api: prune config: fix permission description
@ 2023-12-13  9:50 Christian Ebner
  0 siblings, 0 replies; only message in thread
From: Christian Ebner @ 2023-12-13  9:50 UTC (permalink / raw)
  To: pbs-devel

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@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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-13  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-13  9:50 [pbs-devel] [PATCH proxmox-backup] api: prune config: fix permission description Christian Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal