We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c29ed73 commit d991e37Copy full SHA for d991e37
1 file changed
ui/scripts/sharedFunctions.js
@@ -51,8 +51,6 @@ var pageSize = 20;
51
52
var drModuleIncluded = false;
53
54
-var rootAccountId = 1;
55
-
56
//async action
57
var pollAsyncJobResult = function(args) {
58
$.ajax({
@@ -1183,10 +1181,7 @@ var addExtraPropertiesToGuestNetworkObject = function(jsonObj) {
1183
1181
jsonObj.networkofferingidText = jsonObj.networkofferingid;
1184
1182
1185
if (jsonObj.acltype == "Domain") {
1186
- if (jsonObj.domainid == rootAccountId)
1187
- jsonObj.scope = "All";
1188
- else
1189
- jsonObj.scope = "Domain (" + jsonObj.domain + ")";
+ jsonObj.scope = "Domain (" + jsonObj.domain + ")";
1190
} else if (jsonObj.acltype == "Account") {
1191
if (jsonObj.project != null)
1192
jsonObj.scope = "Account (" + jsonObj.domain + ", " + jsonObj.project + ")";
0 commit comments