Changing the relation from embedded to referenced
Adding subjects_with_permission and fixing a nasty bug with validation since the relation schema has changed