From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] api: prune config: fix permission description
Date: Wed, 13 Dec 2023 10:50:16 +0100 [thread overview]
Message-ID: <20231213095016.57734-1-c.ebner@proxmox.com> (raw)
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
reply other threads:[~2023-12-13 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231213095016.57734-1-c.ebner@proxmox.com \
--to=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.