Security configuration for workspace admin

18 views
Skip to first unread message

Alexandre Gacon

unread,
Aug 19, 2025, 8:25:38 AMAug 19
to mapstor...@googlegroups.com
Hello there,

I am trying to set up the following security rules on a mapstore+geoserver setup: I would like that the administrator of a given workspace can edit styles in a map when they add layers from their workspaces.

If possible, I don't want them to be full administrators of the GeoServer instance.

Even when I give them full access to the REST API, I still have 401 errors when MapStore requests the SLD Service. I also have Cross Origin Request errors for this REST end-point (for the other GeoServer REST end-point, I have no such errors).

I have no errors with an admin account.

What should I change in MapStore or GeoServer configuration to make it working?

Regards

--
Alexandre Gacon

Alexandru Bobu

unread,
Aug 19, 2025, 8:48:41 AMAug 19
to mapstor...@googlegroups.com
TRY adding CORS to geoserver

--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/CAFJaAp7U198eoKG_x5Nn0fVgnNvmymQffjZMrVmBC6mjUunY0Q%40mail.gmail.com.

Alexandre Gacon

unread,
Aug 19, 2025, 9:10:21 AMAug 19
to mapstor...@googlegroups.com
Hi Alexandru,

I already have CORS to my geoserver instance, since all the other requests (OGC and REST API) from MapStore are working.

Regards
Alexandre



--
Alexandre Gacon

harry cr7

unread,
Aug 19, 2025, 1:39:51 PMAug 19
to mapstor...@googlegroups.com
Did you try to add CORS to your web server?

Reply all
Reply to author
Forward
0 new messages