Skip to content

[UI] Storage menu not showing even with API permissions #8730

@BryanMLima

Description

@BryanMLima
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
Main
SUMMARY

As reported in #8713 (comment), the Storage submenu in the sidebar is not displayed to users when they do not have permission to the API listVolumesMetrics. However, roles can have permissions to other APIs, such as listBackups and listSnapshots, in which case the submenu should be displayed. This scenario is probably not exclusive to the Storage menu.

STEPS TO REPRODUCE

Create a role with permission to allow the APIs listBackups and listSnapshots and deny the API listVolumesMetrics. The UI dashboard will not show the Storage menu in the sidebar.

EXPECTED RESULTS

The UI should show the Storage submenu alongside with its own Backups and Snapshots submenus.

ACTUAL RESULTS

The submenu Storage is not displayed, even though the role has permission to list snapshots and backups.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions