Issue Type: Bug Bug
Affects Versions: 2.3.2, 2.3.1, 2.3.0
Assignee: Andrea Aime
Components: WMS
Created: 23/May/13 1:07 AM
Description:

For 1.1.1 the capabilities list all layergroups. For 1.3.0 only the layergroups that have all the layers in the current workspace are listed.

The reason is that 1.1.1 uses getLayerGroups() and 1.3.0 uses list(LayerGroups.class, filter)

The security filters applied when calling list have an extension filter (LocalWorkspaceCatalogFilter) which detects if there is a localworkspace in the thread local and if so then filters all layers not in that workspace. That includes layergroups containing layers that are not in the workspace (because the security filters check the security permissions on each layer in the layergroup).

I have 2 pull requests that provide fixes for this issue. I will explain them in comments and you (geoserver team) can choose one (or both) to apply.

Project: GeoServer
Priority: Minor Minor
Reporter: Jesse Eichar
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to