[GeoNetwork-devel] CFV / Privileges filter

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois

Hi Francois

We’re working to finish this proposal: https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-Resources, and hope this week can send for voting.

Do you see any impact between the 2? Should we manage any additional stuff in our proposal to support this proposal?

Regards,
Jose García

···

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

We’re working to finish this proposal: https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access or not according to the download operation. But user will still see the links in the metadata. With this proposal, it could also be filtered (and as such not displayed) using a filter in schema-ident.xml for dublin-core with something like :

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Thanks, will check in the morning the proposal in more detail and will provide any feedback or the vote.

Regards,
Jose García

···

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre <fx.prunayre@anonymised.com.> wrote:

2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com…>:

Hi Francois

We’re working to finish this proposal: https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access or not according to the download operation. But user will still see the links in the metadata. With this proposal, it could also be filtered (and as such not displayed) using a filter in schema-ident.xml for dublin-core with something like :

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Hi Francois

The proposal looks fine to me, just a question about this comment:

It only applies filters when user access a record in view mode, xml, csw, …

Does it work also for the harvesters, when other catalog uses the GeoNetwork or CSW harvester against “our” catalog with this feature?

Regards,
Jose García

···

On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia <jose.garcia@anonymised.com7…> wrote:

Thanks, will check in the morning the proposal in more detail and will provide any feedback or the vote.

Regards,
Jose García


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre <fx.prunayre@anonymised.com.> wrote:

2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com…>:

Hi Francois

We’re working to finish this proposal: https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access or not according to the download operation. But user will still see the links in the metadata. With this proposal, it could also be filtered (and as such not displayed) using a filter in schema-ident.xml for dublin-core with something like :

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

2014-04-17 12:13 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

The proposal looks fine to me, just a question about this comment:

It only applies filters when user access a record in view mode, xml, csw,
...

Does it work also for the harvesters, when other catalog uses the
GeoNetwork or CSW harvester against "our" catalog with this feature?

Yes. This is the benefit of having the filter in XMLSerializer instead of
some places of the XSLTs which were checking the dynamic/download state for
the current user. So filters are also applied when a node harvest the
catalog (ie. using CSW GetRecordById, mef.export or xml.metadata.get).

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia <jose.garcia@anonymised.com>wrote:

Thanks, will check in the morning the proposal in more detail and will
provide any feedback or the vote.

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre <fx.prunayre@anonymised.com
> wrote:

2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

>
> Hi Francois
>
> We're working to finish this proposal:
https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-Resources,
and hope this week can send for voting.

Good to have file upload in dublin core too!

> Do you see any impact between the 2? Should we manage any additional
stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access
or not according to the download operation. But user will still see the
links in the metadata. With this proposal, it could also be filtered (and
as such not displayed) using a filter in schema-ident.xml for dublin-core
with something like :

<filter xpath="*//dct:references[contains(text(), 'resource.get')]"
            ifNotOperation="download"/>

Cheers.

Francois

>
>
> Regards,
> Jose García
>
>
>
> On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <
fx.prunayre@anonymised.com> wrote:
>>
>> Dear PSC,
>>
>> Here is the proposal to provide custom filters (defined per schema)
to be applied to the edit/download/dynamic operations:
https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter
>>
>> You can find the code changes in this pull request:
https://github.com/geonetwork/core-geonetwork/pull/454
>>
>> Looking forward to your votes.
>>
>> Thanks.
>>
>> Francois
>>
>>
------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> GeoNetwork-devel mailing list
>> GeoNetwork-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
>> GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
>
>
>
>
> --
> GeoCat Bridge for ArcGIS allows instant publishing of data and
metadata on GeoServer and GeoNetwork. Visit http://geocat.net for
details.
> _________________________
> Jose García
> GeoCat bv
> Veenderweg 13
> 6721 WD Bennekom
> The Netherlands
> http://GeoCat.net
>

--

* GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 13 6721 WD BennekomThe
Netherlandshttp://GeoCat.net/> *

--

* GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/&gt; for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 13 6721 WD BennekomThe
Netherlandshttp://GeoCat.net/> *

Thanks for clarification.

+1 for me.

Regards,
Jose García

···

On Thu, Apr 17, 2014 at 12:33 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

2014-04-17 12:13 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

The proposal looks fine to me, just a question about this comment:

It only applies filters when user access a record in view mode, xml, csw, …

Does it work also for the harvesters, when other catalog uses the GeoNetwork or CSW harvester against “our” catalog with this feature?

Yes. This is the benefit of having the filter in XMLSerializer instead of some places of the XSLTs which were checking the dynamic/download state for the current user. So filters are also applied when a node harvest the catalog (ie. using CSW GetRecordById, mef.export or xml.metadata.get).

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Thanks, will check in the morning the proposal in more detail and will provide any feedback or the vote.

Regards,
Jose García


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre <fx.prunayre@anonymised.com.> wrote:

2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com…>:

Hi Francois

We’re working to finish this proposal: https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access or not according to the download operation. But user will still see the links in the metadata. With this proposal, it could also be filtered (and as such not displayed) using a filter in schema-ident.xml for dublin-core with something like :

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Hi Francois,

+1 for me.

I have a minor concern about the file where such filters are defined:
I don't see them fit in a file that describes the basics of the schema.
Since those filters are applied only during view/editing, probably a file in
present/ would suit better.

    Ciao,
    Emanuele

Alle 12:33:05 di Thursday 17 April 2014, Francois Prunayre ha scritto:

2014-04-17 12:13 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:
> Hi Francois
>
> The proposal looks fine to me, just a question about this comment:
>
> It only applies filters when user access a record in view mode, xml, csw,
> ...
>
>
> Does it work also for the harvesters, when other catalog uses the
> GeoNetwork or CSW harvester against "our" catalog with this feature?

Yes. This is the benefit of having the filter in XMLSerializer instead of
some places of the XSLTs which were checking the dynamic/download state for
the current user. So filters are also applied when a node harvest the
catalog (ie. using CSW GetRecordById, mef.export or xml.metadata.get).

Francois

> Regards,
> Jose García
>
> On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia

<jose.garcia@anonymised.com>wrote:

>> Thanks, will check in the morning the proposal in more detail and will
>> provide any feedback or the vote.
>>
>> Regards,
>> Jose García
>>
>>
>> On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre
>> <fx.prunayre@anonymised.com
>>
>> > wrote:
>>> 2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:
>>> > Hi Francois
>>>
>>> > We're working to finish this proposal:
>>> https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-
>>> Resources, and hope this week can send for voting.
>>>
>>> Good to have file upload in dublin core too!
>>>
>>> > Do you see any impact between the 2? Should we manage any additional
>>>
>>> stuff in our proposal to support this proposal?
>>>
>>>
>>> No, with your proposal you get the resource.get service allowing access
>>> or not according to the download operation. But user will still see the
>>> links in the metadata. With this proposal, it could also be filtered
>>> (and as such not displayed) using a filter in schema-ident.xml for
>>> dublin-core
>>>
>>> with something like :
>>> <filter xpath="*//dct:references[contains(text(), 'resource.get')]"
>>>
>>> ifNotOperation="download"/>
>>>
>>> Cheers.
>>>
>>> Francois
>>>
>>> > Regards,
>>> > Jose García
>>> >
>>> >
>>> >
>>> > On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <
>>>
>>> fx.prunayre@anonymised.com> wrote:
>>> >> Dear PSC,
>>> >>
>>> >> Here is the proposal to provide custom filters (defined per schema)
>>>
>>> to be applied to the edit/download/dynamic operations:
>>> https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Fi
>>> lter
>>>
>>> >> You can find the code changes in this pull request:
>>> https://github.com/geonetwork/core-geonetwork/pull/454
>>>
>>> >> Looking forward to your votes.
>>> >>
>>> >> Thanks.
>>> >>
>>> >> Francois

--

Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
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 380 2116282

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

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

Thanks for your vote Emanuele.

···

2014-04-18 14:38 GMT+02:00 Emanuele Tajariol <etj@anonymised.com>:

Hi Francois,

+1 for me.

I have a minor concern about the file where such filters are defined:
I don’t see them fit in a file that describes the basics of the schema.
Since those filters are applied only during view/editing, probably a file in
present/ would suit better.

Ok, I’ll move that to another extra configuration file (schema-operation-filters.xml).

BTW not having too many files for the configuration of the schema (for suggestions, conversions, substitutes, filters …) could be easier for schema developers. Maybe that kind of point will be discussed in the metadata101 project ?

Francois

Ciao,
Emanuele

Alle 12:33:05 di Thursday 17 April 2014, Francois Prunayre ha scritto:

2014-04-17 12:13 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

The proposal looks fine to me, just a question about this comment:

It only applies filters when user access a record in view mode, xml, csw,

Does it work also for the harvesters, when other catalog uses the
GeoNetwork or CSW harvester against “our” catalog with this feature?

Yes. This is the benefit of having the filter in XMLSerializer instead of
some places of the XSLTs which were checking the dynamic/download state for
the current user. So filters are also applied when a node harvest the
catalog (ie. using CSW GetRecordById, mef.export or xml.metadata.get).

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia
<jose.garcia@anonymised.com>wrote:

Thanks, will check in the morning the proposal in more detail and will
provide any feedback or the vote.

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre
<fx.prunayre@anonymised.com…

wrote:
2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

We’re working to finish this proposal:
https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-
Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional

stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access
or not according to the download operation. But user will still see the
links in the metadata. With this proposal, it could also be filtered
(and as such not displayed) using a filter in schema-ident.xml for
dublin-core

with something like :
<filter xpath=“*//dct:references[contains(text(), ‘resource.get’)]”

ifNotOperation=“download”/>

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <

fx.prunayre@anonymised.com…> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema)

to be applied to the edit/download/dynamic operations:
https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Fi
lter

You can find the code changes in this pull request:
https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois

==
Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
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 380 2116282

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


Hi

Agree with you Francois, I think we can have 1 schema-config.xml file and have all the config stuff in different sections in the same file, would be clear to manage.

Regards,
Jose García

···

On Tue, Apr 22, 2014 at 10:16 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Thanks for your vote Emanuele.


Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

2014-04-18 14:38 GMT+02:00 Emanuele Tajariol <etj@anonymised.com>:

Hi Francois,

+1 for me.

I have a minor concern about the file where such filters are defined:
I don’t see them fit in a file that describes the basics of the schema.
Since those filters are applied only during view/editing, probably a file in
present/ would suit better.

Ok, I’ll move that to another extra configuration file (schema-operation-filters.xml).

BTW not having too many files for the configuration of the schema (for suggestions, conversions, substitutes, filters …) could be easier for schema developers. Maybe that kind of point will be discussed in the metadata101 project ?

Francois

Ciao,
Emanuele

Alle 12:33:05 di Thursday 17 April 2014, Francois Prunayre ha scritto:

2014-04-17 12:13 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

The proposal looks fine to me, just a question about this comment:

It only applies filters when user access a record in view mode, xml, csw,

Does it work also for the harvesters, when other catalog uses the
GeoNetwork or CSW harvester against “our” catalog with this feature?

Yes. This is the benefit of having the filter in XMLSerializer instead of
some places of the XSLTs which were checking the dynamic/download state for
the current user. So filters are also applied when a node harvest the
catalog (ie. using CSW GetRecordById, mef.export or xml.metadata.get).

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia
<jose.garcia@…437…>wrote:

Thanks, will check in the morning the proposal in more detail and will
provide any feedback or the vote.

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre
<fx.prunayre@anonymised.com

wrote:
2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

We’re working to finish this proposal:
https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-
Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional

stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access
or not according to the download operation. But user will still see the
links in the metadata. With this proposal, it could also be filtered
(and as such not displayed) using a filter in schema-ident.xml for
dublin-core

with something like :
<filter xpath=“*//dct:references[contains(text(), ‘resource.get’)]”

ifNotOperation=“download”/>

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <

fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema)

to be applied to the edit/download/dynamic operations:
https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Fi
lter

You can find the code changes in this pull request:
https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois

==
Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
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 380 2116282

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


Hi Jose,

···

2014-04-22 10:27 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com…437…>:

Hi

Agree with you Francois, I think we can have 1 schema-config.xml file and have all the config stuff in different sections in the same file, would be clear to manage.

I quite agree with that. I added that point to the Bolsena agenda and I’ll merge the PR as it is for now.

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 22, 2014 at 10:16 AM, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

Thanks for your vote Emanuele.


Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

2014-04-18 14:38 GMT+02:00 Emanuele Tajariol <etj@anonymised.com>:

Hi Francois,

+1 for me.

I have a minor concern about the file where such filters are defined:
I don’t see them fit in a file that describes the basics of the schema.
Since those filters are applied only during view/editing, probably a file in
present/ would suit better.

Ok, I’ll move that to another extra configuration file (schema-operation-filters.xml).

BTW not having too many files for the configuration of the schema (for suggestions, conversions, substitutes, filters …) could be easier for schema developers. Maybe that kind of point will be discussed in the metadata101 project ?

Francois

Ciao,
Emanuele

Alle 12:33:05 di Thursday 17 April 2014, Francois Prunayre ha scritto:

2014-04-17 12:13 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

The proposal looks fine to me, just a question about this comment:

It only applies filters when user access a record in view mode, xml, csw,

Does it work also for the harvesters, when other catalog uses the
GeoNetwork or CSW harvester against “our” catalog with this feature?

Yes. This is the benefit of having the filter in XMLSerializer instead of
some places of the XSLTs which were checking the dynamic/download state for
the current user. So filters are also applied when a node harvest the
catalog (ie. using CSW GetRecordById, mef.export or xml.metadata.get).

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 5:02 PM, Jose Garcia
<jose.garcia@…437…>wrote:

Thanks, will check in the morning the proposal in more detail and will
provide any feedback or the vote.

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:45 PM, Francois Prunayre
<fx.prunayre@anonymised.com

wrote:
2014-04-15 16:40 GMT+02:00 Jose Garcia <jose.garcia@anonymised.com>:

Hi Francois

We’re working to finish this proposal:
https://github.com/geonetwork/core-geonetwork/wiki/Dublin-Core-Related-
Resources, and hope this week can send for voting.

Good to have file upload in dublin core too!

Do you see any impact between the 2? Should we manage any additional

stuff in our proposal to support this proposal?

No, with your proposal you get the resource.get service allowing access
or not according to the download operation. But user will still see the
links in the metadata. With this proposal, it could also be filtered
(and as such not displayed) using a filter in schema-ident.xml for
dublin-core

with something like :
<filter xpath=“*//dct:references[contains(text(), ‘resource.get’)]”

ifNotOperation=“download”/>

Cheers.

Francois

Regards,
Jose García

On Tue, Apr 15, 2014 at 4:31 PM, Francois Prunayre <

fx.prunayre@anonymised.com> wrote:

Dear PSC,

Here is the proposal to provide custom filters (defined per schema)

to be applied to the edit/download/dynamic operations:
https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Fi
lter

You can find the code changes in this pull request:
https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois

==
Our support, Your Success!
Visit http://opensdi.geo-solutions.it for more information.

Ing. Emanuele Tajariol
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 380 2116282

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


Hi there,

+1 from me,

even if on the github.com it seems the motion has passed already.

Thanks,

Patrizia

From: Francois Prunayre [mailto:fx.prunayre@…31…]
Sent: 15 April 2014 16:31
To: Devel geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] CFV / Privileges filter

Dear PSC,

Here is the proposal to provide custom filters (defined per schema) to be applied to the edit/download/dynamic operations: https://github.com/geonetwork/core-geonetwork/wiki/Custom-Privileges-Filter

You can find the code changes in this pull request: https://github.com/geonetwork/core-geonetwork/pull/454

Looking forward to your votes.

Thanks.

Francois