New project Repository Default Permissions

I have our Gitlab instance setup to default as Internal Projects.

I want everyone in the organization to view projects and report issues.

I don’t want everyone in the organization to be able to view the code by default.
I can make all the setting work with Gitlab but if someone creates a new project it defaults the repository to Everyone.

I would like a default setting to Only Project Members but I found no way to do this, any one have any idea?

Hi all,
Bumping this very old question - as the administrator of a community-edition Gitlab instance, is there any way to set defaults for per-repository settings for all repos created within that instance, such as visibility of wiki, CI/CD, etc in public repos?

Many thanks!

The repository settings in the image show an option for that - try enabling it and see if it solves the issue with new projects defaulting to “Everyone”. You could also look into Gitlab’s protected branches feature.

1 Like

hey Katlab, thanks for this reply. The screenshot above seems to refer to settings for a repo rather than an instance; i don’t see anything in the admin interface at admin/application_settings/general for CI/CD info visibility. However, I will check out the protected branches feature.