[Geoserver-devel] [JIRA] (GEOS-11043) REST API /rest/security/acl/layers JSON body example is incorrect

Peter Smythe created an issue

GeoServer / BugGEOS-11043

REST API /rest/security/acl/layers JSON body example is incorrect

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Documentation

Created:

22/Jun/23 3:12 PM

Priority:

MediumMedium

Reporter:

Peter Smythe

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.

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#100227-sha1:6a5b8c4)

Atlassian logo