mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
parent
59aae97a58
commit
a48444848a
@ -37,7 +37,7 @@ module OpenNebula
|
||||
SELF = -1
|
||||
|
||||
# Default resource ACL's for group users (create)
|
||||
GROUP_DEFAULT_ACLS = "VM+IMAGE+TEMPLATE+DOCUMENT+SECGROUP"
|
||||
GROUP_DEFAULT_ACLS = "VM+IMAGE+TEMPLATE+DOCUMENT+SECGROUP+VROUTER"
|
||||
|
||||
# The default view for group and group admins, must be defined in
|
||||
# sunstone_views.yaml
|
||||
|
@ -171,7 +171,6 @@ define(function(require) {
|
||||
});
|
||||
|
||||
$("#group_res_net", context).prop("checked", false);
|
||||
$("#group_res_vr", context).prop("checked", false);
|
||||
|
||||
$(context).off("change", ".admin_view_input");
|
||||
$(context).on("change", ".admin_view_input", function(){
|
||||
|
@ -336,12 +336,5 @@ void VirtualNetworkPool::authorize_nic(
|
||||
|
||||
vnet->unlock();
|
||||
|
||||
if (ot == PoolObjectSQL::VM)
|
||||
{
|
||||
ar->add_auth(AuthRequest::USE, perm);
|
||||
}
|
||||
else // (ot == PoolObjectSQL::VROUTER)
|
||||
{
|
||||
ar->add_auth(AuthRequest::MANAGE, perm);
|
||||
}
|
||||
ar->add_auth(AuthRequest::USE, perm);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user