public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [PATCH proxmox-backup] docs: mention restricted privileges required for local pull sync jobs
Date: Mon, 19 Oct 2026 16:46:49 +0200	[thread overview]
Message-ID: <20261019144649.382438-1-c.ebner@proxmox.com> (raw)

Since commit c43aa6ac (""sync: pull: check source datastore/namespace
read access) stricter privilege checks are in place for users which
create/modify a pull sync job with local source.

Mention these restrictions also in the documentation, and
discriminate more clearly between pull sync jobs with local and
remote source datastore.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 docs/managing-remotes.rst | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/docs/managing-remotes.rst b/docs/managing-remotes.rst
index f1e0ffaa8..0396a9ef1 100644
--- a/docs/managing-remotes.rst
+++ b/docs/managing-remotes.rst
@@ -102,8 +102,14 @@ trusted remote backup server.
 
 To set up sync jobs, the configuring user needs the following permissions:
 
-#. ``Remote.Read`` on the ``/remote/{remote}/{remote-store}`` path
-#. At least ``Datastore.Backup`` on the local target datastore (``/datastore/{store}``)
+* (Remote Source): ``Remote.Read`` on the ``/remote/{remote}/{remote-store}``
+  path for sync jobs when pulling from a remote datastore.
+* (Local Source):``Datastore.Audit`` on the local source datastore
+  ``/datastore/{store}`` and either ``Datastore.Read`` or access to owned backup
+  groups via ``Datastore.Backup``. For the latter case, if the configuring user
+  is not the owner of the sync job, ``Datastore.Modify`` is required as well as
+  this implies changing group ownership.
+* At least ``Datastore.Backup`` on the local target datastore (``/datastore/{store}``)
 
 .. note:: A sync job can only sync backup groups that the configured remote's
   user/API token can read. If a remote is configured with a user/API token that
-- 
2.47.3





                 reply	other threads:[~2026-10-19 14: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=20261019144649.382438-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 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