Closed carolyncole closed 6 years ago
Can we enable Embargoes on Files Sets? How would the users feel if that is not a possiblity?
Existing Work I'm not able to reproduce the error. Here are my steps:
New Work with Emargo
Leaving a note from Slack conversation
Job https://github.com/samvera/sufia/blob/master/app/jobs/attach_files_to_work_job.rb#L12
Override AttachFilesToWorkJob and add any embargoes and leases from the work to the file set. Verify that work has embargo or lease at that point.
Visibility is being copied down to the file set on create, but the embargo and lease is not being copied down to the file set. This could be a timing error based on the fact that the embargo or lease has not yet been created when the FileSet is attached to the work or vice versa.
This work is embargoed:
The FileSet does not show the embargo during edit.