mirror of https://github.com/apache/cloudstack.git
bug 12658
Allow ROOT admin to manage projects, even if they are not the project owner status 12658: resolved fixed
This commit is contained in:
parent
c07d711266
commit
9fab3e68b5
|
|
@ -85,8 +85,10 @@
|
|||
};
|
||||
|
||||
// Only show management tabs to owner of project
|
||||
if (cloudStack.context.projects &&
|
||||
(cloudStack.context.projects[0].account == cloudStack.context.users[0].account)) {
|
||||
if (isAdmin() || (
|
||||
cloudStack.context.projects &&
|
||||
(cloudStack.context.projects[0].account == cloudStack.context.users[0].account)
|
||||
)) {
|
||||
tabs.users = function() {
|
||||
return $('<div>').addClass('management').data('tab-title', 'Users');
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue