By default, all students are forbidden from sharing their projects. As a teacher, you can change this manually.
The sharing feature setting is accessible for each Class, providing teachers with an option to decide whether students in their class may share their projects. This customization is important because not all teachers prefer to have sharing enabled in every Class.
You can toggle sharing in the Students page.