fix event modify permission and project validation when editing events of projects that the user don't have control (ref: #446)