Fix casemain resource permissions so that associated discussion messages
are editable only by their owners or admin user
Merge branch 'master' of https://github.com/davidhickeyicfi/orbis-portlets