Bug #2725: Use host cluster ID in sched authorization

This commit is contained in:
Carlos Martín committed 2014-02-13 16:05:28 +01:00
1 parent 0ca2083467
commit 71b0f53432
1 file changed
+1
+1
View File
@@ -556,6 +556,7 @@ void Scheduler::match_schedule()
PoolObjectAuth host_perms;
host_perms.oid = host->get_hid();
host_perms.cid = host->get_cid();
host_perms.obj_type = PoolObjectSQL::HOST;
// Even if the owner is in several groups, this request only