samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
182 stars 122 forks source link

Points Hyrax::EditPermissionsService.build_service_object_from to Hyrax configuration variable. #6768

Open bwatson78 opened 3 months ago

bwatson78 commented 3 months ago

Summary

Points Hyrax::EditPermissionsService.build_service_object_from to Hyrax configuration variable.

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

*This change should not alter any tested processing.

Type of change (for release notes)

Detailed Description

For L#44, the if test's subject is hard-coded and unaware of any customized form class that the Hyrax Engine's implementers could create and set inside the Engine's configuration. This swaps to the configuration variable that defaults to the same hard-coded class (Hyrax::Forms::FileSetForm).

@samvera/hyrax-code-reviewers