Skip to content

Commit

Permalink
Backporting of 494b5b4
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Mar 6, 2024
1 parent 5cbc63c commit e94782c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def layerPermissions(self, layer):
purl = urlparse(self.server_iface.requestHandler().url())
qs = parse_qs(purl.query)
arg = 'g3wsuite_caching_token'.upper()
if (('caching' in settings.G3WADMIN_LOCAL_MORE_APPS and
if ((len(set(settings.G3WADMIN_LOCAL_MORE_APPS).intersection(set(['caching', 'qmapproxy']))) > 0 and
arg in qs and
settings.TILESTACHE_CACHE_TOKEN == qs[arg][0]) and
f"{purl.scheme}://{purl.netloc}" == settings.QDJANGO_SERVER_URL):
Expand Down

0 comments on commit e94782c

Please sign in to comment.