BryanMLima opened a new issue, #8730:
URL: https://github.com/apache/cloudstack/issues/8730

   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   Main
   ~~~
   
   ##### SUMMARY
   As reported in 
https://github.com/apache/cloudstack/pull/8713#issuecomment-1969866705, 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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to