You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* conditional broadcastUri
* add filter to keep order and apply to details as well
* use global isAdmin method
Co-authored-by: Daan Hoogland <dahn@onecht.net>
if (this.isAdminOrDomainAdmin() &&this.selectedDomain.id!=='-1') { // domain is visible only for admins
350
+
if (isAdminOrDomainAdmin() &&this.selectedDomain.id!=='-1') { // domain is visible only for admins
353
351
params.domainid=this.selectedDomain.id
354
352
}
355
-
if (!this.isAdmin()) { // normal user is not aware of the VLANs in the system, so normal user is not allowed to create network with network offerings whose specifyvlan = true
353
+
if (!isAdmin()) { // normal user is not aware of the VLANs in the system, so normal user is not allowed to create network with network offerings whose specifyvlan = true
if (this.isAdminOrDomainAdmin() &&this.selectedDomain.id!=='-1') { // domain is visible only for admins
338
+
if (isAdminOrDomainAdmin() &&this.selectedDomain.id!=='-1') { // domain is visible only for admins
341
339
params.domainid=this.selectedDomain.id
342
340
}
343
-
if (!this.isAdmin()) { // normal user is not aware of the VLANs in the system, so normal user is not allowed to create network with network offerings whose specifyvlan = true
341
+
if (!isAdmin()) { // normal user is not aware of the VLANs in the system, so normal user is not allowed to create network with network offerings whose specifyvlan = true
0 commit comments