Peter Smythe ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5b3b4ba74e83c12dd31159d6 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOGEzZDFkODQ4MWE2NGNkZWEzMzNjOTRkNzdiOWRmYTgiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-11043?atlOrigin=eyJpIjoiOGEzZDFkODQ4MWE2NGNkZWEzMzNjOTRkNzdiOWRmYTgiLCJwIjoiaiJ9 ) GEOS-11043 ( https://osgeo-org.atlassian.net/browse/GEOS-11043?atlOrigin=eyJpIjoiOGEzZDFkODQ4MWE2NGNkZWEzMzNjOTRkNzdiOWRmYTgiLCJwIjoiaiJ9 ) REST API /rest/security/acl/layers JSON body example is incorrect ( https://osgeo-org.atlassian.net/browse/GEOS-11043?atlOrigin=eyJpIjoiOGEzZDFkODQ4MWE2NGNkZWEzMzNjOTRkNzdiOWRmYTgiLCJwIjoiaiJ9 ) Issue Type: Bug Assignee: Unassigned Components: Documentation Created: 22/Jun/23 3:12 PM Priority: Medium Reporter: Peter Smythe ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5b3b4ba74e83c12dd31159d6 ) JSON body is not correct. Incorrect: { "rule": { "@resource": "string", "text": "string" } } Should be something along these lines (showing 2 rules): { "*.*.r": "*", "myworkspace.*.w": "ROLE_1,ROLE_2" } (see https://docs.geoserver.org/latest/en/user/rest/api/accesscontrol.html#security-acl-rest-format ) POST is certainly incorrect, I am not sure about other methods. ( https://osgeo-org.atlassian.net/browse/GEOS-11043#add-comment?atlOrigin=eyJpIjoiOGEzZDFkODQ4MWE2NGNkZWEzMzNjOTRkNzdiOWRmYTgiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-11043#add-comment?atlOrigin=eyJpIjoiOGEzZDFkODQ4MWE2NGNkZWEzMzNjOTRkNzdiOWRmYTgiLCJwIjoiaiJ9 ) 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#100227- sha1:6a5b8c4 )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel