Closed dataCobra closed 9 months ago
code looks good, no idea why it did not work
name: 'vnf.appliances',
component: shallowRef(defineAsyncComponent(() => import('@/views/network/VnfAppliancesTab.vue'))),
show: () => { return 'deployVnfAppliance' in store.getters.apis }
@dataCobra
can you change the global setting vnf.template.appliance.enabled
to false
and retry ?
you probably need to restart cloudstack-management service
Hey @weizhouapache,
I've changed the global setting and also restarted the cloudstack-management
service.
Sadly the issue still persist.
Edit: I've also cleared the browser cache for the UI.
Hey @weizhouapache,
I've changed the global setting and also restarted the
cloudstack-management
service.Sadly the issue still persist.
Edit: I've also cleared the browser cache for the UI.
sounds like a UI bug @dataCobra let me have a look
Thank you.
Hello,
I can hereby confirm that the PR fixes our problem. The menu entry now disappears as expected when the rules are set to "denied".
Thank you for the quick help.
Hello,
I can hereby confirm that the PR fixes our problem. The menu entry now disappears as expected when the rules are set to "denied".
Thank you for the quick help.
thanks @dataCobra for the testing closing as #8668 is merged
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
We've set the following rules for our roles which are from Type DomainAdmin and User. deleteVnfTemplate: deny deployVnfAppliance: deny listVnfTemplates: deny registerVnfTemplate: deny updateVnfTemplate: deny
SUMMARY
Other entries in the menu disappear (for example VPC and Public IP addresses) if the corresponding rules are denied for a role. This is not true for the VNF appliances menu entry.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS