[Geoprisma-users] Auto hiding of vector layers if no edit permissions?

Stephen Woodbridge woodbri at swoodbridge.com
Sun Dec 20 17:02:03 EST 2009


Hi all,

I am wondering what is the best approach to hiding WFS vector layers in 
the mapfish layertree and the application in general when the user only 
has read permissions.

Permissions are tied to resources and a resource defines both WMS and 
WFS capabilities for a resource. If the user has "read" access then both 
are configured in the layertree which clutters the GUI if you have 10 
layers defined that show up twice. It seems that there should be a way 
to say WFS is shown always or WFS is shown only if required by edit 
widget. This would be like adding a dependency to an object.

This would allow WFS only resources to continue to be displayed if need 
because they did not have a WMS alternative, but would allow you to 
eliminate those that did have a WMS alternative.

Thoughts?

-Steve


More information about the Geoprisma-users mailing list