Add invited type contest permission check function