[Geoserver-devel] GSIP 120, REST API for the catalog mode

HI all

At the moment the catalog mode is stored in layer.properties , the format is

mode=HIDDEN

I think storing the catalog mode in the property files for data access control rules is a little bit ugly, but it is as it is.

Concerning the REST API, I would prefer to have an own URI like

/rest/security/acl/catalog

with a GET and a PUT method. The XML format could be

HIDDEN

If this is ok I would extend the GSIP.

Opinions ?

···

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Fri, Nov 14, 2014 at 12:07 PM, Christian Mueller <
christian.mueller@anonymised.com> wrote:

HI all

At the moment the catalog mode is stored in layer.properties , the format
is

mode=HIDDEN

I think storing the catalog mode in the property files for data access
control rules is a little bit ugly, but it is as it is.

Concerning the REST API, I would prefer to have an own URI like

/rest/security/acl/catalog

with a GET and a PUT method. The XML format could be

<catalog>
   <mode>HIDDEN</mode>
</catalog>

If this is ok I would extend the GSIP.

Opinions ?

Works for me

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Are you still working on GSIP 120 Christian? It was one of the features I was excited about for 2.7 :slight_smile:

···

On 14 November 2014 at 03:07, Christian Mueller <christian.mueller@anonymised.com> wrote:

HI all

At the moment the catalog mode is stored in layer.properties , the format is

mode=HIDDEN

I think storing the catalog mode in the property files for data access control rules is a little bit ugly, but it is as it is.

Concerning the REST API, I would prefer to have an own URI like

/rest/security/acl/catalog

with a GET and a PUT method. The XML format could be

HIDDEN

If this is ok I would extend the GSIP.

Opinions ?

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Jody Garnett

Hi Jody

Yes I am still working on GSIP 120, but my customer gives me the priorities for my tasks and I was interrupted. Additionally, its more complicated as I thought, the DAOs handling the access rule property files have a different behavior.

Until now, I did more than 50% of the work, what is the time frame to get this feature into 2.7.

Cheers
Christian

···

On Fri, Jan 16, 2015 at 2:43 AM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Are you still working on GSIP 120 Christian? It was one of the features I was excited about for 2.7 :slight_smile:


Jody Garnett

On 14 November 2014 at 03:07, Christian Mueller <christian.mueller@anonymised.com> wrote:

HI all

At the moment the catalog mode is stored in layer.properties , the format is

mode=HIDDEN

I think storing the catalog mode in the property files for data access control rules is a little bit ugly, but it is as it is.

Concerning the REST API, I would prefer to have an own URI like

/rest/security/acl/catalog

with a GET and a PUT method. The XML format could be

HIDDEN

If this is ok I would extend the GSIP.

Opinions ?

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sat, Jan 17, 2015 at 4:56 PM, Christian Mueller <
christian.mueller@anonymised.com> wrote:

Hi Jody

Yes I am still working on GSIP 120, but my customer gives me the
priorities for my tasks and I was interrupted. Additionally, its more
complicated as I thought, the DAOs handling the access rule property files
have a different behavior.

Until now, I did more than 50% of the work, what is the time frame to get
this feature into 2.7.

Tomorrow. Monday Jody will cut 2.7-beta and the feature freeze will start

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Sorry, no chance to finish until Monday. Maybe we can vote for a backport later.

Christian

···

On Sat, Jan 17, 2015 at 9:35 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Sat, Jan 17, 2015 at 4:56 PM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi Jody

Yes I am still working on GSIP 120, but my customer gives me the priorities for my tasks and I was interrupted. Additionally, its more complicated as I thought, the DAOs handling the access rule property files have a different behavior.

Until now, I did more than 50% of the work, what is the time frame to get this feature into 2.7.

Tomorrow. Monday Jody will cut 2.7-beta and the feature freeze will start

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

If the API endpoint was changed I would be happy to take the feature in for the beta (and we can add support for the style endpoint after).

Can you tell me what the correct endpoint should be?

···

On 18 January 2015 at 06:32, Christian Mueller <christian.mueller@anonymised.com> wrote:

Sorry, no chance to finish until Monday. Maybe we can vote for a backport later.

Christian


Jody Garnett

On Sat, Jan 17, 2015 at 9:35 PM, Andrea Aime <andrea.aime@anonymised.com68…> wrote:

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sat, Jan 17, 2015 at 4:56 PM, Christian Mueller <christian.mueller@anonymised.com674…> wrote:

Hi Jody

Yes I am still working on GSIP 120, but my customer gives me the priorities for my tasks and I was interrupted. Additionally, its more complicated as I thought, the DAOs handling the access rule property files have a different behavior.

Until now, I did more than 50% of the work, what is the time frame to get this feature into 2.7.

Tomorrow. Monday Jody will cut 2.7-beta and the feature freeze will start

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Jody

I assume you mean the REST URIs, the endpoints are

/rest/security/acl/layers

/rest/security/acl/services

/rest/security/acl/rest

/rest/security/acl/catalog

Cheers
Christian

···

On Sun, Jan 18, 2015 at 4:58 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

If the API endpoint was changed I would be happy to take the feature in for the beta (and we can add support for the style endpoint after).

Can you tell me what the correct endpoint should be?


Jody Garnett

On 18 January 2015 at 06:32, Christian Mueller <christian.mueller@anonymised.com> wrote:

Sorry, no chance to finish until Monday. Maybe we can vote for a backport later.

Christian

On Sat, Jan 17, 2015 at 9:35 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sat, Jan 17, 2015 at 4:56 PM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi Jody

Yes I am still working on GSIP 120, but my customer gives me the priorities for my tasks and I was interrupted. Additionally, its more complicated as I thought, the DAOs handling the access rule property files have a different behavior.

Until now, I did more than 50% of the work, what is the time frame to get this feature into 2.7.

Tomorrow. Monday Jody will cut 2.7-beta and the feature freeze will start

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Sorry comment on the wrong commit ( was intended for style package conversation).

···

On Sun, Jan 18, 2015 at 4:58 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

If the API endpoint was changed I would be happy to take the feature in for the beta (and we can add support for the style endpoint after).

Can you tell me what the correct endpoint should be?

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH


Jody Garnett

On 18 January 2015 at 06:32, Christian Mueller <christian.mueller@anonymised.com> wrote:

Sorry, no chance to finish until Monday. Maybe we can vote for a backport later.

Christian

On Sat, Jan 17, 2015 at 9:35 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

On Sat, Jan 17, 2015 at 4:56 PM, Christian Mueller <christian.mueller@anonymised.com> wrote:

Hi Jody

Yes I am still working on GSIP 120, but my customer gives me the priorities for my tasks and I was interrupted. Additionally, its more complicated as I thought, the DAOs handling the access rule property files have a different behavior.

Until now, I did more than 50% of the work, what is the time frame to get this feature into 2.7.

Tomorrow. Monday Jody will cut 2.7-beta and the feature freeze will start

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.