Skip to content
Snippets Groups Projects

LIBTD-1464: Remove admin set functionality

Merged Paul Mather requested to merge LIBTD-1464 into dev

Created by: tingtingjh

JIRA Ticket: https://webapps.es.vt.edu/jira/browse/LIBTD-1464 (:star:)

What does this Pull Request do? (:star:)

Hyrax displays references to admin sets by default. This PR turns off this feature by COMPEL requirement.

What's the changes? (:star:)

  • Toggle this feature off by setting it in feature_config_path which is config/features.yml.
  • Changes made in app/views/hyrax/base/_relationships_parent_rows.html.erb makes sure that if this feature is indeed flipped off, not to display admin set relationship.

How should this be tested?

  • Create a performance or composition work. Then check if the default admin set is not displayed in the "Relationships" section.
  • Sign in as an admin user, go to dashboard -> Settings -> Features, to check if the assign admin set feature is disabled.

Additional Notes:

  • Testing branch: LIBTD-1464
  • assign_admin_set should be set as boolean false instead of string false which is deviated from Samvera https://github.com/samvera/hyrax
  • Changes made in config might require a restart of your virtual machine

Interested parties

@shabububu (:star:) Required fields

Merge request reports

Approval is optional

Merged by avatar (Apr 9, 2025 1:44am UTC)

Merge details

  • Changes merged into dev with c0e460fc.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading