mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-14 16:53:12 +09:00
feature #4369: Better const signature. Removed unused varibles and
methods. ACL filter is generated in the ClusterPool class, moved DB name to private scope. Copy constructor for object collection. Uniform get_cluster_id function.
This commit is contained in:
1 parent
568a529487
commit
3fb8a0e161
16 files changed
+138
-167
No files matched your search
@@ -370,11 +370,7 @@ void PoolObjectSQL::get_permissions(PoolObjectAuth& auth)
|
||||
|
||||
if(cls != 0)
|
||||
{
|
||||
set<int> ids;
|
||||
|
||||
ids.insert(cls->get_cluster_id());
|
||||
|
||||
auth.cids = ids;
|
||||
auth.cids.insert(cls->get_cluster_id());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user