Hide upload button for teacher see #6951