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
  • #7723

Closed
Open
Created Sep 10, 2014 by Administrator@rootOwner

GitLab 7.2.1 user can push via ssh to protected branches as a developer

Created by: sakof

Summary: User is able to push to protected branches, as a developer, with no admin rights.
Steps to reproduce: 

Protect 2 branches (my exact case: master + prod) create a user, add it to a project with developer profile. Login as the newly test user Add a ssh key git clone the project modify a file, git add, git commit, then git push directly to the protected branch Expected behavior: User should be refused to push to origin in a protected branch Observed behavior User was able to push in prod branch Output of checks gitlab was installed with RPM, version is GitLab 7.2.1 ff1633f4. Can't run the bundle command, commant not found, even with embedded bundle, I got a gemfile missing. I think this is just because of the RPM version.

Assignee
Assign to
Time tracking