Skip to content

UI: SSH key option should not be presented if not allowed/support #5765

@wido

Description

@wido
ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.15
4.16
CONFIGURATION
  • UI
  • SSH API calls not allowed
OS / ENVIRONMENT

N/A

SUMMARY

Dynamic role which does not allow for any of the 'SSH' API calls like: https://cloudstack.apache.org/api/apidocs-4.16/apis/listSSHKeyPairs.html

The user is however still prompted for SSH keypairs during instance deployment.

image

STEPS TO REPRODUCE
  • Create a new Role which does not allow any of the 'ssh' API calls
  • Deploy a new Instance
  • The UI will still prompt SSH keypair options
EXPECTED RESULTS

The UI should not show the SSH keypair options during deployment.

The only option for users to get SSH keys into the Instance would be using the userdata for cloud-init.

ACTUAL RESULTS

The UI still shows the option for SSH keypairs while the user does not have the permissions for this.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions