Skip to content

Menu sub-section VNF and "create kubernetes" showed also if list permission not present #9481

Description

@tanganellilore
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.19.1.0 
CONFIGURATION
OS / ENVIRONMENT

Ubuntu 22.04

SUMMARY

Hi team,
I notice that if I create a role with basic list rules, We need to ad at least "Deny" on
listVnfAppliances and listKubernetesClusters to hide respective section and button.

Probably is required some "if" in vue render of menu and create buttopn like this PR: https://github.com/apache/cloudstack/pull/9237/files

STEPS TO REPRODUCE
  1. Create a custom role without vnf or kuberenetes permission, but with network permisison and instance permission (and other basic permission (like user role but without listVpnGateways)
  2. Create a Accounts with this rule
  3. Add new user to this account
  4. Navigate to network section and VNF section is showed
  5. Navigate to create button and Kubernets or VNF is showed

EXPECTED RESULTS

ACTUAL RESULTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions