Hi Andrea,
Thanks again for the time you spend to answer my questions.
This is our situation:
-----------------------------
node A (holds the original metadata):
user1 which is a member op group1
user2 which is a member op group2
metadataset1 is visible and downloadable only to members of the group1 group.
metadataset2 is visible and downloadable only to members of the group2 group.
node B (wants to harvest metadata from node A):
user1 which is a member op group1
user2 which is a member op group2
What we want to do:
------------------------------
1/ harvest metadataset1 from nodeA into nodeB and setting the visible
and downloadable privilege for group1
2/ harvest metadataset2 from nodeA into nodeB and setting the visible
and downloadable privilege for group2
--> So users which are member of group2 should not be able to see the
harvested metadataset1 (and Internet/All users shouldn't see it
either)
Our main question:
----------------------------
Is a situation like this configurable? And if yes, how do we do it?
So far, I've managed to get 1/ going. So, we are able to harvest
metadataset1 (which is visible and downloadable to members of group1
in node A) into node B and make this metadataset visible to members of
group1 in node B. But 2/ isn' performend.
As you can see there are two <schedule></schedule> configuration
parts. So, GeoNetwork is performing the same metadata synchronisation
on the same host, but with a different user. The first one for user1
is executed, but the second for uses2 isn't. Why??
See below an abstract from node B's config.xml file:
---------------------------------------------------------------------------
<schedule name="geonetwork sync"
class=".schedules.MetadataSync" when="30 sec">
<param name="sites">
<site name="geonetwork">
<general>
<host>xxx.xx.xxx.xxx</host>
<port>8080</port>
<language>en</language>
<username>user1</username>
<password>pwd1</password>
</general>
<services>
<login>xml.user.login</login>
<logout>xml.user.logout</logout>
<search>xml.search</search>
<get>xml.metadata.get</get>
</services>
<search>
<extended>off</extended>
<help>off</help>
<relation>equal</relation>
<any />
<remote>off</remote>
<region></region>
<paper>off</paper>
<siteId>abc</siteId>
</search>
<group id="14">
<privilege>view</privilege>
<privilege>download</privilege>
</group>
</site>
</param>
</schedule>
<schedule name="geonetwork sync"
class=".schedules.MetadataSync" when="30 sec">
<param name="sites">
<site name="geonetwork">
<general>
<host>xxx.xx.xxx.xxx</host>
<port>8080</port>
<language>en</language>
<username>user2</username>
<password>pwd2</password>
</general>
<services>
<login>xml.user.login</login>
<logout>xml.user.logout</logout>
<search>xml.search</search>
<get>xml.metadata.get</get>
</services>
<search>
<extended>off</extended>
<help>off</help>
<relation>equal</relation>
<any />
<remote>off</remote>
<region></region>
<paper>off</paper>
<siteId>abc</siteId>
</search>
<group id="8">
<privilege>view</privilege>
<privilege>download</privilege>
</group>
</site>
</param>
</schedule>