This PR introduces new InvolvedAuthorities table to replace Creations and Realizers table.
It does not intoduces Authorities table yet, so InvolvedAuthority record can only refer to person.
Also I did not used polymorphic relation for item and added expression_id and work_id as separate columns instead.
I believe it is better from performance point of view and more SQL-friendly approach.
Also this PR contains following changes not directly related to InvolvedAuthorities:
It fixes HtmlFile.create_WEM_new method to work with new intellectual_property field (see logic for getting Expression.intellectual_property value from author and translator, I did my best from my understanding of logic)
It removes bunch of unused methods and scopes from Person and ApplicationController classes
This PR introduces new InvolvedAuthorities table to replace Creations and Realizers table.
It does not intoduces Authorities table yet, so InvolvedAuthority record can only refer to person. Also I did not used polymorphic relation for item and added expression_id and work_id as separate columns instead. I believe it is better from performance point of view and more SQL-friendly approach.
Also this PR contains following changes not directly related to InvolvedAuthorities: