Skip to content

Commit 8b8a2f2

Browse files
author
Jessica Wang
committed
CLOUDSTACK-1910: cloudstack UI - make Regions menu visible to regular-user/domain-admin.
1 parent 111a99f commit 8b8a2f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ui/scripts/cloudStack.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "system", "global-settings", "configuration", "projects", "regions"];
2626
}
2727
else if(isDomainAdmin()) {
28-
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects"];
28+
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects", "regions"];
2929
}
3030
else if (g_userProjectsEnabled) {
31-
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "projects"];
31+
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "projects", "regions"];
3232
}
3333
else { //normal user
34-
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events"];
34+
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "regions"];
3535
}
3636

3737
if (cloudStack.plugins.length) {

0 commit comments

Comments
 (0)