sureshanaparti commented on a change in pull request #5904:
URL: https://github.com/apache/cloudstack/pull/5904#discussion_r795617951
##########
File path: ui/src/views/network/CreateIsolatedNetworkForm.vue
##########
@@ -344,11 +344,13 @@ export default {
var params = {
zoneid: this.selectedZone.id,
guestiptype: 'Isolated',
- supportedServices: 'SourceNat',
state: 'Enabled'
}
- if (isAdminOrDomainAdmin() && this.selectedDomain.id !== '-1') { //
domain is visible only for admins
- params.domainid = this.selectedDomain.id
+ if (isAdminOrDomainAdmin()) {
+ params.supportedServices = 'SourceNat'
Review comment:
Hi @utchoang Can you update the changes to enable only admin to view the
network offerings without sourcenat. Users can see offerings with sourcenat
enabled only.
--
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]