Make sure script to set contributor is called after updating security roles in this workflow.
Fix tests so owner doesn't try to publish its own document.
Merge branch 'ivan_base'