[
https://issues.apache.org/jira/browse/CLOUDSTACK-10129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237522#comment-16237522
]
ASF GitHub Bot commented on CLOUDSTACK-10129:
---------------------------------------------
rhtyd commented on a change in pull request #2306: CLOUDSTACK-10129: Allow
navigation from VRs to network, instances, owners etc.
URL: https://github.com/apache/cloudstack/pull/2306#discussion_r148766758
##########
File path: ui/scripts/system.js
##########
@@ -9599,6 +9600,23 @@
},
detailView: {
name: 'label.virtual.appliance.details',
+ viewAll: [{
+ label: 'label.account',
+ path: 'accounts',
+ preFilter: function(args) {
+ if (args.context.routers[0].projectid)
+ return false;
+ if (args.context.routers[0].account ==
'system')
Review comment:
For shared networks, VR's account owner is 'system' we don't want to show
'View account' otherwise it fails as you cannot listAccounts for account=system.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Show instances attached to a network/VR via navigation from VRs->instances
> --------------------------------------------------------------------------
>
> Key: CLOUDSTACK-10129
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10129
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Fix For: 4.11.0.0
>
>
> Navigate to Infra->Vrs->select a VR->View instances should show instances
> belonging to guest network id of the VR
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)