Hi,
Is suppose that the standard way would be to advertise the supported operations for each layer in GetCapabilities in WFS 1.0.0 it would be like
<FeatureType><Name>lv:editable_multipoints</Name>
<Title>Editable test layer with multipoint geometries</Title>
<SRS>EPSG:3067</SRS>
<Operations>
<Insert/>
<Update/>
<Delete/>
</Operations>
<LatLongBoundingBox minx="22.897012" miny="61.978491" maxx="29.155145" maxy="67.392921"/>
</FeatureType>
With standard controls Geoserver turns on of of WFS-T for the whole service and operations are listed at a higher level in FeatureTypeList
<FeatureTypeList>
<Operations>
<Operation>Query</Operation>
<Operation>Insert</Operation>
<Operation>Update</Operation>
<Operation>Delete</Operation>
<Operation>Lock</Operation>
</Operations><FeatureType>
Check the GetCapabities of your secured system and see if the supported operations are listed for each feature type according to your security settings. If they are, you have fond the place to look at.
-Jukka Rahkonen-
Пашинский Сергей wrote:
Hi to all!
In my work i am using a GeoServer to store my vector and raster data. I am
making a web-client based on openlayers for displaying data from
GeoServer.
My client consist of 2 parts:
1) catalogue, where i list to user list of layers, stored in GeoServer
2) map, where data are displayedI want not only view data, but modify vector data in client using WFS-T. I am
using standard GeoServer security system for control permissions for layer
editing.
Some layers are closed for editing, and some don't. User need to know,
which layers are editable.
For this reason, i want to mark in my catalogue those layers, which could be
modified.My problem is how to determine in my client, which layer is closed for editing
and which is not.Can i do it using REST or somehow else?
My GeoServer version is 2.3
Thanks,
Sergey------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced analytics
on semi-structured data. The platform includes APIs for building apps and a
phenomenal toolset for data science. Developers can use our toolset for
easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users