Skip to content

Commit

Permalink
Merge pull request #42000 from elpaso/bugfix-server-accesscontrol-gfi…
Browse files Browse the repository at this point in the history
…-reset

Server accesscontrol getfeatureifo rules clear
  • Loading branch information
elpaso authored and github-actions[bot] committed Mar 3, 2021
1 parent 7c6ca38 commit 8515271
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -975,6 +975,10 @@ namespace QgsWms
// add layers to map settings
mapSettings.setLayers( layers );

#ifdef HAVE_SERVER_PYTHON_PLUGINS
mContext.accessControl()->resolveFilterFeatures( mapSettings.layers() );
#endif

QDomDocument result = featureInfoDocument( layers, mapSettings, outputImage.get(), version );

QByteArray ba;
Expand Down

0 comments on commit 8515271

Please sign in to comment.