cogInsert in the Solr search core a custom field containing all the groups which have view right on the document
TypeJAR
Category
Developed by

Thomas Mortagne

Active Installs5
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

This extension automatically inject in the Solr search core a field "allowed" and populate and update it with the list of groups allowed to view the each document.

It can then be used in a rest request to directly request documents that a specific group or groups can view.

If a remote Solr is used and the Solr user does not have write permission on the "xwiki" schema, the "allowed" field will need to be added by hand in the file managed-schema using the following format:

<field name="allowed" type="string" multiValued="true"/> 

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Release Notes

v1.0.2

v1.0.1

v1.0

Dependencies

Dependencies for this extension (org.xwiki.contrib:solrsecurity 1.0.2):

Tags:
    

Get Connected