]> git.proxmox.com Git - pmg-api.git/commit
api/quarantine: allow 'listattachments' for quarantine users
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 4 Nov 2022 15:04:20 +0000 (16:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Nov 2022 15:20:56 +0000 (16:20 +0100)
commitc34e9a6a2a5a50273d8e4d7cd6ec8146fa9932d1
treeca7faeb9612d063b62bddb3b0bb96d8bed56cd73
parenta6d82b109f05e505818d864b484342a625fea3fc
api/quarantine: allow 'listattachments' for quarantine users

we use 'get_attachments' which uses 'get_and_check_mail'. that already
checks the correct permsissions (quser are only able to retriever their
own mails/attachments) so it's ok here to allow it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/API2/Quarantine.pm