[Geoserver-devel] [JIRA] (GEOS-10407) Read data security rule granted for all roles is dropped if layer settings are saved again

Ville Koivisto created an issue

GeoServer / BugGEOS-10407

Read data security rule granted for all roles is dropped if layer settings are saved again

Issue Type:

BugBug

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:

LowLow

Reporter:

Ville Koivisto

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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100194-sha1:533b55a)

Atlassian logo