Opened 12 years ago

Closed 12 years ago

#990 closed defect (fixed)

index list of groups where a metadata record is published

Reported by: fgravin Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.10.0 RC0
Component: General Version:
Keywords: index, group Cc:

Description

Add the field "_groupPublished" in the index which contains the list of all groups the metadata is published in.

_groupPublished: "group1,group2,..."

The interests are multiple :

  • autocompletion based on index, for groups the user belongs to.
  • customise virtual csw based on groups membership :

example : in config-csw-servers.xml

<service name="csw-group1">
<class name=".services.main.CswDiscoveryDispatcher">
<param name="filter" value="+_groupPublished:group1"/>
</class>
</service>

and in user-profiles.xml

<allow service="csw-group1"/>

you can watch pull request https://github.com/geonetwork/core-geonetwork/pull/14

Change History (1)

comment:1 by fxp, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.