Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 10, 2018
1 parent 87bd337 commit 83327b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_accesscontrol.py
Expand Up @@ -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":
Expand Down

0 comments on commit 83327b4

Please sign in to comment.