Skip to content

Commit 67edf00

Browse files
committed
Temp removal
1 parent 83327b4 commit 67edf00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/python/test_qgsserver_accesscontrol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ def layerPermissions(self, layer):
9292

9393
rights = QgsAccessControlFilter.LayerPermissions()
9494
# Used to test WFS transactions
95-
if rh.parameter("LAYER_PERM") == "no" and rh.parameterMap()["LAYER_PERM"] == "no":
95+
if rh.parameterMap()["LAYER_PERM"] == "no":
9696
return rights
9797
# Used to test the WCS
98-
if rh.parameter("TEST") == "dem" and rh.parameterMap()["TEST"] == "dem":
98+
if rh.parameterMap()["TEST"] == "dem":
9999
rights.canRead = layer.name() != "dem"
100100
else:
101101
rights.canRead = layer.name() != "Country"

0 commit comments

Comments
 (0)