digitalutsc/private_files_adapter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

digitalutsc/private_files_adapter

最新稳定版本:1.0.0-beta5

Composer 安装命令:

composer require digitalutsc/private_files_adapter

包简介

This module override access control for private file system with Cantaloupe

README 文档

README

Related issue: digitalutsc/islandora_group#4

Download Islandora Lite playbook:

composer require digitalutsc/private_files_adapter

OR

git clone -b islandora_lite https://github.com/digitalutsc/islandora-playbook.git islandora-lite-playbook

Apply a patch for Openseadragon Viewer

cd /var/www/html/drupal/web/modules/contrib/openseadragon  
wget https://raw.githubusercontent.com/digitalutsc/private_files_adapter/main/scripts/openseadragon.authentication.patch
patch -p1 < openseadragon.authentication.patch

How to adjust Cantaloupe in Islandora Lite Playbook

  • Copy the delegate.rb to /opt/cantaloupe
sudo cp /var/www/html/drupal/web/modules/custom/private_files_adapter/scripts/delegates.rb /opt/cantaloupe
  • Change configuration of Cantaloupe to enable Delegate Script for Lookup
sudo mv /opt/cantaloupe/cantaloupe.properties /opt/cantaloupe/cantaloupe.bk
sudo cp /var/www/html/drupal/web/modules/custom/private_files_adapter/scripts/cantaloupe.properties /opt/cantaloupe
  • Restart Cantaloupe
sudo service tomcat9 restart

Enable the module

git clone https://github.com/digitalutsc/private_files_adapter.git /var/www/html/drupal/web/modules/contrib/private_files_adapter
drush en -y private_files_adapter

Create and set JWT keys

统计信息

  • 总下载量: 1.81k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: Ruby

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2022-04-01