Feature/246 new events requiring invitations during the internal test 

#246

此PR是基于doitian对#254的建议进行的改进