Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8e2e6a3

Browse files
committedAug 10, 2018
log
1 parent daaa5ba commit 8e2e6a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎tests/src/python/test_qgsserver_accesscontrol.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ def layerPermissions(self, layer):
8484
if not self._active:
8585
return super(RestrictedAccessControl, self).layerPermissions(layer)
8686

87+
print(layer.name())
88+
print(rh.parameterMap())
89+
print(rh.parameter("TEST"))
90+
print(rh.parameter("LAYER_PERM"))
91+
8792
rh = self.serverInterface().requestHandler()
8893
rights = QgsAccessControlFilter.LayerPermissions()
8994
# Used to test WFS transactions

0 commit comments

Comments
 (0)
Please sign in to comment.