[pbs-devel] [PATCH proxmox-backup] add datastore info api call
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Oct 22 13:00:48 CEST 2020
On October 22, 2020 11:17 am, Oguz Bektas wrote:
> hi,
>
> On Thu, Oct 22, 2020 at 10:02:23AM +0200, Fabian Grünbichler wrote:
>>
>> why READ and not AUDIT | BACKUP ? why partial if you only pass a single
>> privilege?
>
> i thought the minimum privilege should be view. one might want to add a
> datastore where only read access is given to them, to be able to restore
> backups from it for example. imposing audit/backup privs would prevent
> this, afaict
AUDIT is the permission that determines visibility of a datastore, READ
is the permission to read its *contents*. this api call is not related
to reading arbitrary datastore contents, so it should not require that
permission.
More information about the pbs-devel
mailing list