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

use a helper for lease/embargo expiration #4304

Merged
merged 1 commit into from
May 12, 2020
Merged

Conversation

no-reply
Copy link
Contributor

@no-reply no-reply commented May 7, 2020

these views relied on internal knowledge about Embargo and Lease implementations
that likely won't hold under Valkyrie models. extracting this knowledge into a
helper method is a first step toward making it implementation agnostic.

this is connected to samvera/hydra-head#511.

Guidance for testing, such as acceptance criteria or new user interface behaviors:

  • find an object that has an expired embargo but which has not been deactivated: https://nurax-dev.curationexperts.com/embargoes
  • browse to that object's edit page
  • check that the embargo deactivate button is still in the permissions sidebar.

@samvera/hyrax-code-reviewers

@no-reply no-reply force-pushed the embargo-lease-helpers branch 2 times, most recently from fdc2f58 to 1b4d8c8 Compare May 7, 2020 20:16
these views relied on internal knowledge about Embargo and Lease implementations
that likely won't hold under Valkyrie models. extracting this knoweldege into a
helper method is a first step toward making it implementation agnostic.

this is connected to samvera/hydra-head#511.
Copy link
Contributor

@bkeese bkeese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@no-reply no-reply merged commit d4fe3ae into master May 12, 2020
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.

2 participants