Ville Koivisto ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=6114e28c3900e6007067eba8 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNjJkMjk2YzhlOGIxNDQ5YmE0NGI5OTg5NTQ0YWRkNTAiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-10407?atlOrigin=eyJpIjoiNjJkMjk2YzhlOGIxNDQ5YmE0NGI5OTg5NTQ0YWRkNTAiLCJwIjoiaiJ9 ) GEOS-10407 ( https://osgeo-org.atlassian.net/browse/GEOS-10407?atlOrigin=eyJpIjoiNjJkMjk2YzhlOGIxNDQ5YmE0NGI5OTg5NTQ0YWRkNTAiLCJwIjoiaiJ9 ) Read data security rule granted for all roles is dropped if layer settings are saved again ( https://osgeo-org.atlassian.net/browse/GEOS-10407?atlOrigin=eyJpIjoiNjJkMjk2YzhlOGIxNDQ5YmE0NGI5OTg5NTQ0YWRkNTAiLCJwIjoiaiJ9 ) Issue Type: Bug Affects Versions: 2.19.2, 2.20.2 Assignee: Unassigned Attachments: data_security_rule.png Components: Security Created: 02/Mar/22 8:57 AM Priority: Low Reporter: Ville Koivisto ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=6114e28c3900e6007067eba8 ) I run up to this issue first with version 2.19.2. I tried to replicate the behavior with stable version 2.20.2 and was successful doing so. I used windows binary installer. Steps to reproduce the issue: * Install Geoserver 2.20.2 * Create a workspace * Create a Postgis store (in my case localhost as well; haven’t tested other stores) * Publish a layer from the store * Create a data security rule with the following: the workspace you created, the layer you created, access mode set to read and 'access granted to every role' ticked * Go back to the layer settings and change anything (or just save again) * Go back to data security window and check if the rule is still listed (should be gone) I was thinking that having the default ' *.*.r' rule might be the reason for this, since it basically does the same job, but removing it beforehand didn't change the behavior. ( https://osgeo-org.atlassian.net/browse/GEOS-10407#add-comment?atlOrigin=eyJpIjoiNjJkMjk2YzhlOGIxNDQ5YmE0NGI5OTg5NTQ0YWRkNTAiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-10407#add-comment?atlOrigin=eyJpIjoiNjJkMjk2YzhlOGIxNDQ5YmE0NGI5OTg5NTQ0YWRkNTAiLCJwIjoiaiJ9 ) 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#100194- sha1:533b55a )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel