On 13-04-2023 18:26, Marek Kadlečík wrote:
Hello,
I'm wondering whether there is a possibility to create new user/group
services through rest api. Guidelines on the website
(https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices <https://docs.geoserver.org/latest/en/user/security/webadmin/ugr.html#security-webadmin-usergroupservices>) are nicely showing how to configure it through GUI, but I'd like to do the same stuff pragmatically. Is it natively possible? If not, do u recommend some plugin?
The REST API provides /usergroup
(https://docs.geoserver.org/latest/en/api/#1.0.0/usergroup.yaml) and
/roles (https://docs.geoserver.org/latest/en/api/#1.0.0/roles.yaml)
endpoints, see https://docs.geoserver.org/stable/en/user/rest/
_______________________________________________
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