Gabriel Roldán created GEOS-4982:
------------------------------------

             Summary: LayerGroup does not show up in capabilities if one of its 
layers is non-advertised
                 Key: GEOS-4982
                 URL: https://jira.codehaus.org/browse/GEOS-4982
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration, WMS
    Affects Versions: 2.1.3
         Environment: GeoServer 2.1.3-bin
sun JDK 6
release data directory
            Reporter: Gabriel Roldán
            Assignee: Andrea Aime


A layer group gets hidden if one of its layers is marked as non advertised.

On trunk, traced back to SecureCatalogImpl calling 
checkAccess(Authentication , LayerGroupInfo) -> checkAccess(Authentication , 
LayerInfo) -> buildWrapperPolicy(...) -> 
CatalogFilterAccessManager.getAccessLimits(Authentication, LayerInfo) -> 
hideLayer(LayerInfo) -> AdvertisedResourceFilter.hideLayer(LayerInfo) == true.

Back to SecureCatalogImpl.checkAccess(Atuh, LayerGroupInfo) returning null as 
checkAccess(Auth, LayerInfo) returned null.

To reproduce mark topp:tasmania_cities as non advertised and issue a getcaps 
request.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to