Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#474 closed defect (fixed)

MapFishPrint doesn't take AccessFilter into account

Reported by: jlacroix Owned by:
Priority: major Milestone: 1.6.3
Component: server Version: trunk
Keywords: bis-1.8.0 bis-1.6.3 Cc: adube

Description

MapFishPrint doesn't take AccessFilter into account.

The MapFishPrintProxy class use the service->getSource() function directly and this means that the access filters are never applied to the layers printed by the proxy.

Change History (2)

comment:1 by jlacroix, 11 years ago

Resolution: fixed
Status: newclosed

I had to clone the service object to make sure all the layer were not affected by a single filter. I also copy-pasted the applyAccessFilter() function since the code was too embeded and it would have been too big of a fix to backport in 1.6 otherwise.

Fixed in trunk (1.8) with r1433

Backported in branch-1-6 with r1434 and r1435

Marking as FIXED

comment:2 by adube, 11 years ago

Version: unspecifiedtrunk

HISTORY.TXT updated in r1436 (branch-1-6) and r1437 (trunk).

Note: See TracTickets for help on using tickets.