Description:
This check verifies that project creation within a GitLab group is restricted to trusted roles such as Maintainer or Owner rather than being open to all members, including those with the lower-privileged Developer role. The project creation level determines who is permitted to create new projects inside the group.
Rationale:
Allowing any member, regardless of role, to create new projects increases the risk of unmanaged, unreviewed, or unauthorized repositories being introduced into the organization. Limiting project creation to trusted, higher-privileged roles ensures new projects are established by individuals accountable for following the organization's governance, naming, and security standards.
Impact:
Prevent regular Developer-role members from independently creating new projects.
Require members to request a Maintainer or Owner to create a project on their behalf.
Reduce sprawl of unmanaged or unreviewed repositories within the group.
Improve oversight and governance over which projects exist within the organization.
Default Value:
Permissive By default, GitLab groups set the project creation level to allow Developer-role members (and above) to create new projects. Default setting: project_creation_level: "developer"
Pre-Requisites:
Owner access to the group
An existing GitLab group
Test Plan:
Sign in to GitLab at https://gitlab.com.
Navigate to the target group.
Select Settings → General.
Expand the Permissions and group features section.
Locate the "Allowed to create projects" setting.
Verify that it is set to "Maintainers" or "No one", not "Developers + Maintainers".
Implementation Steps:
Sign in to GitLab at https://gitlab.com.
Navigate to the target group.
Select Settings → General.
Expand the Permissions and group features section.
Under "Allowed to create projects", select "Maintainers" (or "No one" for the strictest enforcement).
Save the changes.
Backout Plan:
Sign in to GitLab at https://gitlab.com.
Navigate to Settings → General.
Expand the Permissions and group features section.
Restore "Allowed to create projects" to its previous value.
Save the changes.
Confirm that group and project operations function as expected after the rollback.
Reference: