On Mon, Apr 29, 2013 at 6:57 AM, Пашинский Сергей <[email protected]> wrote:

> Do i understand correctly, that at this moment there isn't way to check
> separately each layer is it writable or not? Will the method, proposed by
> Rahkonen, work, or it isn't supported?
>

It is not supported, as Jukka suggests we would have to provide the list of
available actions type by type.
There is no global way to know if edits are possible, the OGC service code
does not even know a security
subsystem exists, and it should not either to avoid entangling the code too
much.

However, if we were to make checks on a type by type basis, we'd be at
least able to know if a certain
layer is writable or not by looking at the data access interface we get
back from the data source
(FeatureStore, writable, or FeatureSource, read only).

That would need to be coded, see my other message in this thread

Cheers
Andrea

-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to