Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Access control with Group #100

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kylehuynh205
Copy link
Contributor

@kylehuynh205 kylehuynh205 commented Jul 6, 2023

About this PR:

Required modifications from isle-dc

  • Use this PR in isle-dc Access Control for Starter Site isle-dc#349.
  • Changes are included:
    • Add extra steps to create a private file system directory.
    • In sample.env, please change:
      • CANTALOUPE_DELEGATE_SCRIPT_ENABLED=true
      • CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY=ScriptLookupStrategy
        ==> This can prevent 403 error in OpenSeaDragon Viewer when it views an non-public image for authorized users (even with Admin users).

Modules

Islandora Group Module

  • Module Link: https://github.com/digitalutsc/islandora_group
  • Based from Danny's initial works, by tagging nodes, then it will move the node and its media into Groups, and Group will handle the access control.
  • this module will extend from Danny work to apply access control for node and media separately and provide an UI to move nodes and media to group(s)

image

image

Group Solr

  • Module Link: https://github.com/digitalutsc/group_solr
  • Purpose: prevent restricted node(s) not being included in Search Results and Facet results counter. This ensure the accuracy for the Advanced Search module.
  • Components:

Private File Adapter

For ingesting Sample content with Workbench

Requirements:

To ingest node and media with access control with Islandora Workbench:

                "field_access_terms": [{
                    "target_id": 55,
                    "target_type": 'taxonomy_term'
                }]

Note: Replace 55 with the tid of term associated with newly created Group

Further development

@kylehuynh205 kylehuynh205 marked this pull request as ready for review July 6, 2023 12:10
@kylehuynh205
Copy link
Contributor Author

Hi @rosiel, sorry, I made a few messes in the previous PR #98, so I closed it. Please review this PR instead. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant