I have locked geoserver with following rules:

*.*.r=NO_ONE 
*.*.w=NO_ONE 

 

And for one layer in workspace added read and write rules for users: admin
and user1.

workspace.layerA.r=READ,ADMIN,GROUP_ADMIN
workspace.layerA.w=WRITE,ADMIN,GROUP_ADMIN 

 

>From geoexplorer with user admin I can log in, add this layer and modify it.

 

But if I log in with user1 – I can add it, but edit button is inactive.

 

After some investigation find out that for user1 for DescribeFeatureType
request (http://geoserver:8080/geoserver/wfs?
<http://geoserver:8080/geoserver/wfs?&SERVICE=WFS&VERSION=1.1.0&REQUEST=Desc
ribeFeatureType&TYPENAME=workspace%253layerA>
&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=workspace%3l
ayerA)

The following exeption appears:

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://geoserver:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";>

 <ows:Exception exceptionCode="NoApplicableCode">

    <ows:ExceptionText>Could not find type: layerA. 

Strict WFS protocol conformance is being applied.

Make sure the type name is correctly qualified</ows:ExceptionText>

  </ows:Exception>

</ows:ExceptionReport>

 

With admin no exception.

 

If I change the lock rule from *.*.r = NO_ONE to *.*.r=* I can edit that
layer with user1.

 

So the question would be why request for DescribeFeatureType does not
responds correctly if user can read that layer? Am I missing something?

 

Geoserver 2.4.5 java 1.6 x32 on Windows server 2008 x64  

 

Thanks for any help

 

Pagarbiai,

Paulius Litvinas

GIS konsultantas

line


map

S. Žukausko g. 17,
LT-08234 Vilnius, Lietuva 

telephone

Tel. + 370 5 278 8456
Mob. +370 656 10 089 

mail_and_earth

 <mailto:[email protected]> [email protected]
 <http://www.infoera.lt> www.infoera.lt 

info_era_autodesk

 

<<image001.jpg>>

<<image002.png>>

<<image003.png>>

<<image004.png>>

<<image005.png>>

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to