Thanks for the detailed testing and notes; I expected the WFS setting (ie disabled) to be picked up as a default by the workspaces and layers.
Can you make a bug report with the notes you have collected please. Jody On Fri, Jan 21, 2022 at 9:41 AM Wal, Jan Tjalling van der < jan_tjalling.vander...@wur.nl> wrote: > Hi Jody, > > > > Thanks for that first and quick reaction. > > > > I admit that initially I had the WFS-override inactive. But as that did > not result in the expected result, I explored further. Found the options > behind and tried again. > > > > I have worked my way down the hierarchy in attempts to deactivate the > unwanted WFSs. > > For the workspace I have activated the override, then used the link that > gets activated (text WFS becomes clickable when the tick is present). > > > > > > To disable the WFS-option. As shown below. > > > > > > Saved those changes, reloaded the configuration. > > And checked whether the WFS I wanted to disable were no longer offered. > > Alas, they were still showing. > > > > Next I did similar modifications to the settings for the datastore(s). > > No fresh screenshots taken, as they would be very similar to the ones > above. > > Still WFS were showing. > > > > Then finally I modified each layer like shown below. > > > > > > All in all I think I have gotten this override thing handled correctly. > > I had expected that the actions with Workspace (preferred, least amount of > work) or with Stores would have resulted in disabling WFS for all layers > underneath. > > Unfortunately not. > > Please note that initially the tickmark for Selectively enable services > for layers was not set. Therefore the layers should have followed their > containers setting (no WFS once those were disabled). > > > > For me the way it now works is not as expected. > > > > Kind regards, > > > > *Jan Tjalling van der Wal* > > > > jan_tjalling.vander...@wur.nl > > > > Tel. +31 (0)317-4 87147 # > > GSM +31(0)626120915 (privé) # > > # Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00 > > > > > > *From:* Jody Garnett <jody.garn...@gmail.com> > *Sent:* 20 January 2022 21:58 > *To:* Wal, Jan Tjalling van der <jan_tjalling.vander...@wur.nl> > *Cc:* geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] Flaw in Service activation? > > > > Keep in mind that the “global” settings for WM, WFS, WCS act more as > defaults; enabling workspace WFS is really only enabling an override so you > can customize the service title and description (for example) when > accessing the virtual WFS service for that workspace. > > > > So how did you have it setup? Did you enable the workspace WFS override, > and then go into those settings and disable the WFS? > > > > Jody > > > > On Thu, Jan 20, 2022 at 7:31 AM Wal, Jan Tjalling van der < > jan_tjalling.vander...@wur.nl> wrote: > > L.S. > > > > WMR has recently upgraded to GeoServer 2.20.1 (weeks) and a few days ago > we noticed that for a Workspace intended to only server WMS the WFS-service > was also active. > > > > Possible flaw 1: GeoServer is to lenient during an upgrade and activates > e.g. WFS on workspaces/stores/layers that were defined as WMS-only. > I am not sure that this has happened during the latest upgrade, it may > have happened earlier. Which actually makes it worse as we may have leaked > data for much longer. > > I have checked the changelogs for recent versions and have not noticed > warnings about such behaviour/changes. > > > > To remedy the leak I have started at the top level with attempts to > deactivate the WFS-activation. > > However setting WFS to inactive and only leaving WMS active for the > Workspace did give the desired result. > > Next the Stores that are involved where change to only have WMS active. > Still the layers were visible for WFS. > > Finally each layer that should not have a WFS has been modified and only > then did the unwanted WFS-layers disappear. > > I have used [Reload]-button from the Server Status pages in between > changes, expecting that that would activate my edits. > > > > Possible flaw 2: Deactivating WFS (or WMS or …) apparently does not > propagate down to the lower levels. Which I expect is not how this is > intended to work as it results in much more administrative work. > > > > Interested in knowing whether other have come across this behaviour. You > may have to check for this. > > Interested in how I may have misinterpreted the settings, thus lumbering > myself with all that extra work. > > > > Kind regards, > > *Jan Tjalling van der Wal* > > Wageningen Marine Research (IMARES) Institute for Marine Resources > & Ecosystem Studies > > Ankerpark 27, 1781 AG Den Helder > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.google.com%2Fmaps%2Fsearch%2FAnkerpark%2B27%2C%2B1781%2BAG%2BDen%2BHelder%3Fentry%3Dgmail%26source%3Dg&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hdG4BXenZ8kLXjdkH60jniYjG%2B6zouCSpz9FIE2DLgs%3D&reserved=0> > > Postbus 57, 1780 AB Den Helder > > Tel. +31 (0)317-4 87147 # > > GSM +31(0)626120915 (privé) # > > # Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00 > > jan_tjalling.vander...@wur.nl > > [image: WUR_RGB_standard] > > www.wur.nl/marine-research > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wur.nl%2Fmarine-research&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8zPxdxaaQgoI5Y2n0ihs378Yk2vIQmFPKogb4JAs9ZE%3D&reserved=0> > (NL) / www.wur.eu/marine-research > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wur.eu%2Fmarine-research&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=cZZCJgQJWlT25XHHuqRttehMfO3BywRLeVquFG8MqME%3D&reserved=0> > (ENG) > > www.disclaimer-nl.wur.nl > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.disclaimer-nl.wur.nl%2F&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bO8CoQrY210twowY6JBi%2FIDCIzy0l6KQNkytVUzDuSs%3D&reserved=0> > / www.disclaimer-uk.wur.nl > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.disclaimer-uk.wur.nl%2F&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Tu69El9zQC4QOkfkLKJx1thcabtBDcSr1TzLYX7r5qo%3D&reserved=0> > > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2F&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=QL21H2mmz4hD%2B7R9ZAQeyu05Je9HD%2Fmm91%2B1%2FObxz%2Bo%3D&reserved=0> > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.html&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wllB%2FEZ9E%2F12u3CBoV6X1z2862GKY8pkiiD84NyqPiU%3D&reserved=0> > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gOxMrqcIglBmH%2BQ38FABRdIBAaSS86VKdWncc9tHisc%3D&reserved=0> > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users&data=04%7C01%7Cjan_tjalling.vanderwal%40wur.nl%7Caee6e98a582d4d29319508d9dc579505%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637783092161151545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SYcKgI%2FEQNbaAPc1h9h36iBRlTnj2kKrBth5l%2BSpNNI%3D&reserved=0> > > -- > > -- > > Jody Garnett > -- -- Jody Garnett
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users