Skip to content

Console Access requires updateVirtualMachine API privileges #5623

@PaulAngus

Description

@PaulAngus
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.15+
CONFIGURATION

A role which does not allow the updateVirtualMachine API

OS / ENVIRONMENT
SUMMARY

The console proxy icon is only available when the user has updateVirtualMachine API permission.

v-if="['vm', 'systemvm', 'router', 'ilbvm'].includes($route.meta.name) && 'updateVirtualMachine' in $store.getters.apis"

It would be quite common for users not to be allowed to change the properties of a virtual machine while still being allowed to use the VM console.

Tying console access to something like listVirtualMachines would make more sense,

STEPS TO REPRODUCE
Create a role without updateVirtualMachine API permissions. Assign it to an account. sign in as a user in that account and attempt to use the console proxy.



EXPECTED RESULTS
Read-only style user should see console proxy icon
ACTUAL RESULTS
console icon is not visible

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions