To reproduce:
Create a new work
Set visibility to embargo & fill in embargo release date
Click button to Create the Work
The Problem:
something (possibly CanCan?) is calling .build(attributes) before actor.create is called. This means that the visibility attribute is being passed into .build before interpret_visibility has a chance to intercept the lease/embargo visibility
refs curationexperts/absolute#34
To reproduce: Create a new work Set visibility to embargo & fill in embargo release date Click button to Create the Work
The Problem: something (possibly CanCan?) is calling .build(attributes) before actor.create is called. This means that the visibility attribute is being passed into .build before interpret_visibility has a chance to intercept the lease/embargo visibility