mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Merge branch 'feature-3175' of git.opennebula.org:one into feature-3175
This commit is contained in:
commit
3d4154f949
@ -91,7 +91,8 @@ AclManager::AclManager(
|
||||
PoolObjectSQL::NET |
|
||||
PoolObjectSQL::IMAGE |
|
||||
PoolObjectSQL::TEMPLATE |
|
||||
PoolObjectSQL::DOCUMENT,
|
||||
PoolObjectSQL::DOCUMENT |
|
||||
PoolObjectSQL::SECGROUP,
|
||||
AuthRequest::CREATE,
|
||||
AclRule::INDIVIDUAL_ID |
|
||||
zone_id,
|
||||
|
@ -211,7 +211,13 @@ int VirtualNetwork::insert(SqlDB * db, string& error_str)
|
||||
}
|
||||
else
|
||||
{
|
||||
set<int> sgs;
|
||||
|
||||
sg_str.append(",0");
|
||||
|
||||
one_util::split_unique(sg_str, ',', sgs);
|
||||
|
||||
sg_str = one_util::join(sgs.begin(), sgs.end(), ',');
|
||||
}
|
||||
|
||||
add_template_attribute("SECURITY_GROUPS", sg_str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user