Observe READ_ALL auth rule in event-only queries. Fix for SB #92128
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 16 May 2012 12:46:52 +0000 (12:46 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Wed, 16 May 2012 12:46:52 +0000 (12:46 +0000)
org.glite.lb.server/src/lb_proto.c

index b72fbc6..e00ef67 100644 (file)
@@ -954,7 +954,7 @@ edg_wll_ErrorCode edg_wll_Proto(edg_wll_Context ctx,
                        else {
                                int     fatal = 0;
 
-                               switch (edg_wll_QueryEventsServer(ctx,ctx->noAuth,
+                               switch (edg_wll_QueryEventsServer(ctx,ctx->noAuth | check_authz_policy_ctx(ctx, READ_ALL),
                                    (const edg_wll_QueryRec **)job_conditions, 
                                    (const edg_wll_QueryRec **)event_conditions, &eventsOut)) {