CLOUDSTACK-1910: cloudstack UI - make Regions menu visible to regular-user/domain-admin.

This commit is contained in:
Jessica Wang 2013-04-16 13:14:58 -07:00
parent 111a99f16e
commit 8b8a2f218c
1 changed files with 3 additions and 3 deletions

View File

@ -25,13 +25,13 @@
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "system", "global-settings", "configuration", "projects", "regions"];
}
else if(isDomainAdmin()) {
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects"];
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "domains", "events", "projects", "regions"];
}
else if (g_userProjectsEnabled) {
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "projects"];
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "projects", "regions"];
}
else { //normal user
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events"];
sections = ["dashboard", "instances", "storage", "network", "templates", "accounts", "events", "regions"];
}
if (cloudStack.plugins.length) {