ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
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
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
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.
cloudstack/ui/src/components/widgets/Console.vue
Line 20 in 75b335e
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
EXPECTED RESULTS
ACTUAL RESULTS