extractorapp: Fix checkPermission for local layers
Merge branch '13.06' into 13.09
Merge branch '13.09'