Skip to content

Commit

Permalink
Temp removal
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 10, 2018
1 parent 83327b4 commit 67edf00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsserver_accesscontrol.py
Expand Up @@ -92,10 +92,10 @@ def layerPermissions(self, layer):

rights = QgsAccessControlFilter.LayerPermissions()
# Used to test WFS transactions
if rh.parameter("LAYER_PERM") == "no" and rh.parameterMap()["LAYER_PERM"] == "no":
if rh.parameterMap()["LAYER_PERM"] == "no":
return rights
# Used to test the WCS
if rh.parameter("TEST") == "dem" and rh.parameterMap()["TEST"] == "dem":
if rh.parameterMap()["TEST"] == "dem":
rights.canRead = layer.name() != "dem"
else:
rights.canRead = layer.name() != "Country"
Expand Down

0 comments on commit 67edf00

Please sign in to comment.