[pve-devel] applied: [PATCH access-control] compute_api_permissions: a storage has also permissions
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Jan 18 13:34:31 CET 2018
applied
On Mon, Jan 15, 2018 at 11:15:54AM +0100, Thomas Lamprecht wrote:
> Fixes a problem where a non root at pam system administrator does not
> sees the 'Permissions' tab for a storage in our WebUI.
>
> Fixes commit a2c18811d33d7e09765a7b0f09bba47bc9523822
>
> Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> ---
> PVE/API2/AccessControl.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/PVE/API2/AccessControl.pm b/PVE/API2/AccessControl.pm
> index 060e531..e48f0cb 100644
> --- a/PVE/API2/AccessControl.pm
> +++ b/PVE/API2/AccessControl.pm
> @@ -140,7 +140,7 @@ my $compute_api_permission = sub {
> my $priv_re_map = {
> vms => qr/VM\.|Permissions\.Modify/,
> access => qr/(User|Group)\.|Permissions\.Modify/,
> - storage => qr/Datastore\./,
> + storage => qr/Datastore\.|Permissions\.Modify/,
> nodes => qr/Sys\.|Permissions\.Modify/,
> dc => qr/Sys\.Audit/,
> };
> --
> 2.11.0
More information about the pve-devel
mailing list