Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #3544

Closed
Open
Created Apr 08, 2013 by Administrator@rootOwner

Protected Branches not working for imported repos

Created by: adampetrovic

EDIT: See my comment below!

Hi All. I have just installed the latest stable Gitlab, and I'm having trouble getting protected branches to work.

I have myself, a "master" on the project, and a co-worker as a "developer" on the project. The master branch is protected, and my co-worker is in no way an administrator, nor is he the owner of the project. He can clone the repo fine, but much to my dismay, he is also able to push things to the master branch, despite it being protected...

Is there something stupid I'm missing here?

All I can say, is that the repo is in a group namespace. i.e. blah/reponame.git Not that I think this is causing it...

Edit: I have attached screenshots of the relevant interfaces

Repo Permissions: perms Protected Branch Interface: protected

Assignee
Assign to
Time tracking