digitalutsc/group_solr
最新稳定版本:1.0.0-beta3
Composer 安装命令:
composer require digitalutsc/group_solr
包简介
This module add Solr indexed field(s) which is determined access control with Group module for an indexed item to be public or private for annonymous users
README 文档
README
This module add a field processed to determine access control based on Group
Installation
By composer:
composer require digitalutsc/group_solr
Work with views
- Create a view as normal
- Add a filter "Access control: Access Control Filter - Configurable with Group"
- Save the view
Work with Federated Search
-
Required modules:
- Federated Search Front-end user interface: https://github.com/digitalutsc/drupal_ajax_solr
- Add a Search Api Solr field for Access Control with Group: https://github.com/digitalutsc/group_solr
-
In
/admin/config/search/search-api/index/default_solr_index/fields, Click Add fields > General > Group: Access Control (search_api_group_access_control)
How does it work ?
- Every time a node or media is indexed to Solr, this field will be processed by checking the access control configuration which is setup with Group module. It will determine the entity to be public or private for annonymous users
- Field's values to be indexed to Solr:
- Public: 200
- Private: 403
统计信息
- 总下载量: 1.78k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-03-01