We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add resource models to the ability file.
ref
TBD
https://docs.google.com/document/d/1WCB-5qIDCGhMQSuAzM70MDIuP4EQJhtnvgZt2x8MS4o/edit https://drive.google.com/file/d/1oSLVhSF34JUgJBni9kN7FhPuOao5XSfz/view?usp=sharing
The text was updated successfully, but these errors were encountered:
I am not seeing where we'd need to add models to the ability.rb file.
Sorry, something went wrong.
ability.rb includes work_roles which already references Hyrax.config.curation+concerns so I don't think we need to add anything to it.
Re opening. Even though the ability is true for the curation concerns, #admin_set_with_desposit? fails so #can_create_any_work? does too. ref: https://github.com/samvera/hyrax/blob/f0af79238ed008b6e6696fc0c71a39389b5c9dd8/app/models/concerns/hyrax/ability.rb#L106-L110
Extra context:
This behavior was seen on a fresh build with no data/no admin sets and one couldn't be created at the tiem
No branches or pull requests
Summary
Add resource models to the ability file.
ref
Acceptance Criteria
Screenshots or Video
Testing Instructions
TBD
Notes
https://docs.google.com/document/d/1WCB-5qIDCGhMQSuAzM70MDIuP4EQJhtnvgZt2x8MS4o/edit
https://drive.google.com/file/d/1oSLVhSF34JUgJBni9kN7FhPuOao5XSfz/view?usp=sharing
The text was updated successfully, but these errors were encountered: