Hi Jody,

For the moment I use a built-in role to reduce the access to the get
methods. I will test with a custom one to reduce the access more eventually.

Regard
Alexandre

Le mer. 13 sept. 2023 à 00:07, Jody Garnett <jody.garn...@gmail.com> a
écrit :

> This is an odd one, there are reset security settings distinct from
> everything else, but there is no user interface for it 🙂
> Please edit rest.properties to manage the roles (built-in or made by hand)
> that you wish to grant REST API access to.
>
> The examples show a built-in role:
>
> /**;GET,POST,PUT,DELETE=ROLE_ADMINISTRATOR
>
> And also an "any role" example:
>
> /**;GET,POST,PUT,DELETE=ROLE_TRUSTED
>
> There is some interaction with the data security a (admin mode)
> permission to keep in mind also. My understanding is to update
> configuration in a workspace an individual would need to have a role
> providing a permission in that workspace, and also a roll providing rest
> api access via rest.properties.
>
> https://docs.geoserver.org/main/en/user/security/rest.html
> --
> Jody Garnett
>
>
> On Aug 22, 2023 at 1:27:52 AM, Alexandre Gacon <alexandre.ga...@gmail.com>
> wrote:
>
>> Hi,
>>
>> For the configuration of the REST API security, could I use any role
>> defined in my role service or only some predefined values?
>>
>> --
>> Alexandre Gacon
>> _______________________________________________
>> 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
>>
>
_______________________________________________
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

Reply via email to