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 daaa5ba commit 8e2e6a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/python/test_qgsserver_accesscontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ def layerPermissions(self, layer):
if not self._active:
return super(RestrictedAccessControl, self).layerPermissions(layer)

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
Expand Down

0 comments on commit 8e2e6a3

Please sign in to comment.