Fixes several permissions bugs in the coding form.