feature #3183: Do not include reservations in VNET/* and VNET/% rules for pool list and vnet show API calls

This commit is contained in:
Ruben S. Montero committed 2014-09-23 20:19:14 +02:00
1 parent 5dcfa74960
commit ef510dfcd0
7 files changed
+154 -37

No files matched your search

+6
View File
@@ -695,6 +695,9 @@ void PoolSQL::acl_filter(int uid,
const set<int>& user_groups,
PoolObjectSQL::ObjectType auth_object,
bool& all,
bool disable_all_acl,
bool disable_cluster_acl,
bool disable_group_acl,
string& filter)
{
filter.clear();
@@ -719,6 +722,9 @@ void PoolSQL::acl_filter(int uid,
user_groups,
auth_object,
AuthRequest::USE,
disable_all_acl,
disable_cluster_acl,
disable_group_acl,
all,
oids,
gids,