]> git.proxmox.com Git - proxmox-backup.git/commit
sync job: fix worker ID parsing
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 24 May 2022 09:03:57 +0000 (11:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 25 May 2022 15:18:56 +0000 (17:18 +0200)
commitb9b2d635fe10d23b8e89522a65b2c463692302d2
treecc66c9d68f755cd22d942d1a3be08ab1c84886dd
parent9f8aa8c5e2cd9c0979292faecabae30add015bd8
sync job: fix worker ID parsing

the namespace is optional, but should be captured to allow ACL checks
for unprivileged non-job-owners.

also add FIXME for other job types and workers that (might) need
updating.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
pbs-api-types/src/jobs.rs
src/api2/backup/mod.rs
src/api2/node/tasks.rs
src/api2/pull.rs
src/api2/reader/mod.rs
src/server/prune_job.rs
src/server/verify_job.rs