Hi all,

I have a workspace with restricted access:

hasici.*.r=ROLE_HASICI
hasici.*.w=ROLE_HASICI
hasici.*.a=ROLE_HASICI

And I have one layer in the workspace, that should be accessible to more people then the others:

hasici.pest.r=ROLE_HASICI,ROLE_PEST

Then I have a user, who does have ROLE_PEST assigned, and does not have the ROLE_HASICI assigned. I assume he should be able to see the layer pest. He logs into geoserver web, and he can see the layer 'hasici:pest' in the 'Layer Preview' list as expected. But when he clicks the 'OpenLayers' link, 404 is shown. The layer can be seen by the users who have the ROLE_HASICI assigned.

Am I missing something? How this should be configured?

Thank you very much for your advice,

Michal
2013-07-03 18:41:04,269 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,269 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,270 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,270 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,270 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,270 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,270 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/hasici/wms]
2013-07-03 18:41:04,270 WARN [servlet.PageNotFound] - No mapping found for HTTP 
request with URI [/geoserver/hasici/wms] in DispatcherServlet with name 
'dispatcher'
2013-07-03 18:41:04,271 DEBUG 
[filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder 
now cleared, as request processing completed
2013-07-03 18:41:10,614 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/web/]
2013-07-03 18:41:10,615 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/web/]
2013-07-03 18:41:10,615 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/web/]
2013-07-03 18:41:10,617 DEBUG [org.geoserver] - Thread 64 locking in mode WRITE
2013-07-03 18:41:10,617 DEBUG [org.geoserver] - Thread 64 got the lock in mode 
WRITE
2013-07-03 18:41:10,649 DEBUG [org.geoserver] - Thread 64 releasing the lock in 
mode WRITE
2013-07-03 18:41:10,650 DEBUG 
[filter.GeoServerSecurityContextPersistenceFilter$1] - SecurityContextHolder 
now cleared, as request processing completed
2013-07-03 18:41:10,654 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/web/]
2013-07-03 18:41:10,654 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/web/]
2013-07-03 18:41:10,654 TRACE [ows.OWSHandlerMapping] - No handler mapping 
found for [/web/]
2013-07-03 18:41:10,655 DEBUG [org.geoserver] - Thread 64 locking in mode WRITE
2013-07-03 18:41:10,655 DEBUG [org.geoserver] - Thread 64 got the lock in mode 
WRITE
2013-07-03 18:41:10,658 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.3.2.jar!/org/geoserver/web/css/blueprint/screen.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2013-07-03 18:41:10,659 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.3.2.jar!/org/geoserver/web/css/blueprint/print.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2013-07-03 18:41:10,660 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.3.2.jar!/org/geoserver/web/css/geoserver.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2013-07-03 18:41:10,660 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.3.2.jar!/org/geoserver/web/css/blueprint/ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2013-07-03 18:41:10,661 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.3.2.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
2013-07-03 18:41:10,662 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/web-core-2.3.2.jar!/org/geoserver/web/js/jquery.inline-info.js
 to file (URI is not hierarchical), falling back to the inputstream for polling


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to