Skip to content
Permalink
Browse files
log
  • Loading branch information
sbrunner committed Aug 10, 2018
1 parent 87bd337 commit 83327b41588539b2dc18465e522db43961c3c639
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsserver_accesscontrol.py
@@ -84,12 +84,12 @@ def layerPermissions(self, layer):
if not self._active:
return super(RestrictedAccessControl, self).layerPermissions(layer)

rh = self.serverInterface().requestHandler()
print(layer.name())
print(rh.parameterMap())
print(rh.parameter("TEST"))
print(rh.parameter("LAYER_PERM"))

rh = self.serverInterface().requestHandler()
rights = QgsAccessControlFilter.LayerPermissions()
# Used to test WFS transactions
if rh.parameter("LAYER_PERM") == "no" and rh.parameterMap()["LAYER_PERM"] == "no":

0 comments on commit 83327b4

Please sign in to comment.