Jan Tjalling Wal, van der ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=616d696b327da40069971cdd
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNjY2OTkzNDI5ZDlmNDJhZGFkYjk2MDIxOWMyZTAwYmYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10365?atlOrigin=eyJpIjoiNjY2OTkzNDI5ZDlmNDJhZGFkYjk2MDIxOWMyZTAwYmYiLCJwIjoiaiJ9
 ) GEOS-10365 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10365?atlOrigin=eyJpIjoiNjY2OTkzNDI5ZDlmNDJhZGFkYjk2MDIxOWMyZTAwYmYiLCJwIjoiaiJ9
 ) Flaw in assigning WMS permissions ( 
https://osgeo-org.atlassian.net/browse/GEOS-10365?atlOrigin=eyJpIjoiNjY2OTkzNDI5ZDlmNDJhZGFkYjk2MDIxOWMyZTAwYmYiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.20.1 Assignee: Unassigned Attachments: Re 
Geoserver-users Flaw in Service activation.msg Components: WMS Created: 
24/Jan/22 10:10 AM Environment:

* GeoServer Version2.20.1
Git Revision6a644b86e10fedce78fadfe824a7efd93dc883ce
Build Date18-Nov-2021 15:18
GeoTools Version26.1 (rev 96fbeb558ff4e7e5cb0444b61788173c8400a7cf)
GeoWebCache Version1.20.0 (rev 1.20.x/d7c7f26f15eca11d49f4d1fca579f123fde69741)
* Linux VPS, 4 cores assigned, 32 GB RAM.
* Data stored in mixture of /dir_of_shapefiles, /dir_of_geopackage, 
postgresql/gis-db

Priority: Medium Reporter: Jan Tjalling Wal, van der ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=616d696b327da40069971cdd
 )

The issue was noticed a few weeks after an upgrade to 2.20.1. Geoserver-layers 
that had been wms-only, were found to be offered with WFS-service as well.

The issue may therefore be related to upgrades. With the upgrade failing to 
set/reset the rights as per the previous version.
It can also be more generic.

While trying to fix following unexpected behaviour was noticed:

Starting from the top (workspace), In this case all wms-only layers are grouped 
in the same workspace: WMRwms.

Activated the WFS-override options check box. Set the WFS to disabled.
Activated the WMS-override options and checked that WMS is enabled.

Saved the settings. Reloaded the configuration and catalog.

Checked to see if the WFS was no longer available for the layers in WMRwms. 
Still there.

Redid similar actions for the stores (one level down) that are involved.
Activate override, check and adjust the settings. Save
Reload and check. WFS still being offered for WMRwms-layers.

Next I went to each individual layer and there moved the WFS-service to the 
disabled services (on the right).

Only then the the WFS-services where removed (no longer offered).

BUG 1) Disabling WFS-services at the level of workspaces or stores does not 
propagate correctly to the layers contained within them.

BUG 2) This error may get introduced during an upgrade. Ours was 2.19.x to 
20.20.1.

Attached mail-message should provide further details an includes some 
screenshots.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10365#add-comment?atlOrigin=eyJpIjoiNjY2OTkzNDI5ZDlmNDJhZGFkYjk2MDIxOWMyZTAwYmYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10365#add-comment?atlOrigin=eyJpIjoiNjY2OTkzNDI5ZDlmNDJhZGFkYjk2MDIxOWMyZTAwYmYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100189- 
sha1:aa9f0ed )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to