proxmox-backup/src
Fabian Grünbichler 59af9ca98e sync: allow sync for non-superusers
by requiring
- Datastore.Backup permission for target datastore
- Remote.Read permission for source remote/datastore
- Datastore.Prune if vanished snapshots should be removed
- Datastore.Modify if another user should own the freshly synced
snapshots

reading a sync job entry only requires knowing about both the source
remote and the target datastore.

note that this does not affect the Authid used to authenticate with the
remote, which of course also needs permissions to access the source
datastore.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-11-02 07:10:12 +01:00
..
api2 sync: allow sync for non-superusers 2020-11-02 07:10:12 +01:00
backup verify: introduce & use new Datastore.Verify privilege 2020-10-30 16:36:52 +01:00
bin manager: subscription commands s/delete/remove/ 2020-11-01 13:19:30 +01:00
client api tokens: add authorization method 2020-10-30 13:15:14 +01:00
config sync: allow sync for non-superusers 2020-11-02 07:10:12 +01:00
pxar fix #2998: encode mtime as i64 instead of u64 2020-10-29 08:51:10 +01:00
rrd clippy fixups 2020-10-14 11:20:07 +02:00
server api: apt: implement support to send notification email on new updates 2020-10-31 22:51:26 +01:00
tools api: apt: implement support to send notification email on new updates 2020-10-31 22:51:26 +01:00
api2.rs api: add world accessible ping dummy endpoint 2020-10-24 19:12:14 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
auth.rs clippy fixups 2020-10-14 11:20:07 +02:00
backup.rs rustdoc: overhaul backup rustdoc and add locking table 2020-10-16 09:38:01 +02:00
buildcfg.rs server/rest: implement request access log 2020-10-16 11:23:49 +02:00
client.rs switch to external pxar and fuse crates 2020-06-08 13:56:58 +02:00
config.rs config: add token.shadow file 2020-10-29 15:11:39 +01:00
lib.rs rustdoc: add crate level doc 2020-10-16 09:37:50 +02:00
server.rs proxy: split out code to run garbage collection job 2020-10-30 11:01:45 +01:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs api/tools: split out apt helpers from api to own module 2020-10-31 21:31:36 +01:00