Hi everyone!

I have a question about REST configuration.

Is it possible to allow a GET request to a featureType description from
anonymous access, without give ADMIN permission to the workspace?

This is the scenario:

I have a workspace ("proj_base") which is public. Actually, I have no rules
defined for this workspace in layers.properties. So anyone can see the
layers in GetCapabilities and request a GetMap to WMS. But only admin user
can edit featuretypes.

What I want now is to perform a rest request to get a featuretype
description of these layers, to show users (or anyone who access my
application) some metadata, like title, abstract, srs, bounding box...

My current rest.properties file have these rules:

/**;GET=ROLE_AUTHENTICATED
/**;POST,DELETE,PUT=ADMINISTRADOR

The only way I was able to give access to the featuretype description via
REST was defining an ADMIN permission to the workspace...

But I don't want to let anyone modify the public layers (the allowed users
can modify the featuretypes via geoserver interface.. although I'm looking
for restrict access to this interface, I'd like to prevent editing by
rules).

Is there a way to achieve this?

Thanks in advance,

Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcantonialli
Contato:  (19) 98136-2347
              [email protected]
              Skype: rc_antonialli
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to