Would you want your colleagues to publish your work under their names with the consent of the lecturer? I guess you might want them to ask you before they steal your work. If you test plagiarism against years of your own work, you should be able to be clear on it. If you do three years' work, who does it belong to in your opinion? And we're not talking sharing or open-source, we're talking about giving stuff away so that others can make money from it, with the permission of someone who did not make it and does not own it.
Think about your own work being given away.
Not by a team member but a professor who contributed nothing.