Jesse Eichar created GEOS-5822 |
Issue Type: |
Bug |
Affects Versions: |
2.3.2, 2.3.1, 2.3.0 |
Assignee: |
|
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: |
|
Priority: |
Minor |
Reporter: |