Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-08-11 Thread Nuno Oliveira
Hi, Yes you are correct, to allow users or roles to add or remove layers from an workspace you need to create an 'admin rule', but unfortunately at the moment I don't think you can do that from the REST interface: http://osgeo-org.1560.x6.nabble.com/Geofence-admin-rule-td5280464.html Regards,

Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-08-08 Thread ceibl
Is there a provided REST-endpoint for adding "geofence admin rules"? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Editing-Geofence-Admin-Rules-with-REST-tp5271576p5279995.html Sent from the GeoServer - User mailing list archive at Nabble.com.

Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-08-04 Thread ceibl
I have installed the geofence server plugin and then there are three new menu-entries in the geoserver web UI, called "GeoFence", "GeoFence Data Rules" and "GeoFence Admin Rules". The command you suggested adds a "GeoFence Data Rule". When I log into the geoserver after adding this rule, I am

Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-08-03 Thread Nuno Oliveira
Hi, What do you mean by "geofence admin rule" ? An user that can do everything for any service, any request, any workspace and any layer ? If yes, the following request creates such a rule for user "nuno": curl -u admin:geoserver -H 'Content-Type: application/json' -X POST -d '{"userName":

Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-08-03 Thread ceibl
Hi, could you figure out how to get an "gefence admin rule" configured? With the embedded geofence and the documented rest api, setting up a user with "admin=true" did not work for me. I also need to set up a admin role for a certain user on a single workspace. Thanks for any suggestion,

Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-06-15 Thread Marcel Kočíšek
Hello. On the webpage is part about Inserting rules, but access ADMIN/USER is missing. https://github.com/geoserver/geofence/wiki/REST-API#rules-operations On Wed, Jun 15, 2016 at 11:52 AM, Simone Giannecchini < simone.giannecch...@geo-solutions.it> wrote: > Ciao Marcel, > I would suggest you

Re: [Geoserver-users] Editing Geofence Admin Rules with REST

2016-06-15 Thread Simone Giannecchini
Ciao Marcel, I would suggest you to have a look at this link below: https://github.com/geoserver/geofence/wiki/REST-API Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Simone Giannecchini @simogeo

[Geoserver-users] Editing Geofence Admin Rules with REST

2016-06-14 Thread Marcel Kočíšek
Good day, Is there any way for editing Geofence Admin Rules with REST API? Access types ADMIN or USER are not supported in standart rest/rules POST request. Thanks for help. -- *Marcel Kocisek * -- What NetFlow