Layer-level security makes versioned layers think they are unversioned
----------------------------------------------------------------------
Key: GEOS-2232
URL: http://jira.codehaus.org/browse/GEOS-2232
Project: GeoServer
Issue Type: Bug
Components: Versioning
Affects Versions: 1.7.0-RC2
Reporter: Sebastian Benthall
Assignee: Andrea Aime
Looking at the topp:notes layer at geo.openplans.org/geoserver, I tried to add
security to the layer using layers.properties like so:
topp.notes.w=NYC
with
mode=CHALLENGE
Before adding this security, I could read notes from the layer fine with a
GetVersionedFeature request:
http://localhost/cgi-bin/proxy.cgi?url=http%3A//geo.openplans.org/geoserver/ows%3Ftypename%3Dtopp%253Anotes%26srsName%3DEPSG%253A900913%26SERVICE%3DWFSV%26VERSION%3D1.0.0%26REQUEST%3DGetVersionedFeature%26SRS%3DEPSG%253A900913%26BBOX%3D-8247612.678593078%2C4975324.38890393%2C-8219369.196646766%2C4986082.9006331405%2CEPSG%253A900913
But once I added the security to the layer, I got the following error in
reponse to the request:
{{code}}
<ServiceException>
notes is not versioned, cannot execute a GetVersionedFeature on it
</ServiceException>
{{code}}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel