Skip to content

Add support for valkyrie resources to Ability #6502

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

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Conversation

dlpierce
Copy link
Member

@dlpierce dlpierce commented Dec 5, 2023

Summary

Ability was lacking the logic to support Hyrax::Resource objects. This gap had not shown up during normal site usage, but was revealed while adapting file_set_abilities_spec for valkyrie resources.

@samvera/hyrax-code-reviewers

(How has this not been needed before now?!)
Permission template creation is now handled by the hyrax_collection factory, so the creator let declarations now lookup the object.
@dlpierce dlpierce added notes-valkyrie Release Notes: Valkyrie specific notes-bugfix Release Notes: Fixed a bug labels Dec 5, 2023
@abelemlih abelemlih merged commit 5b2dc51 into main Dec 5, 2023
@abelemlih abelemlih deleted the valk-abilities branch December 5, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-bugfix Release Notes: Fixed a bug notes-valkyrie Release Notes: Valkyrie specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants