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

Closed
Open
Created Jan 17, 2015 by Administrator@rootOwner

developer can push on protected branch if include some tags

Created by: massimone88

It's so weird but I found this issue in this way. I created a project repository on gitlab using the GitFlow workflow (branches are master, developer, feature/, release/,, hotfix/*) and in my local machine I use SourceTree IDE for managing the workflow command (init a feature, finish a feature, ecc). I set master as protected branch . If a developer try to push a normal commit to master branch, the gitlab web server return a permission error code as expected. If the developer start a new realease, commit something in this realease's branch and after all, finish the feature (in a nutshell merge the realease's branch to the develop branch and master branch) the push command is working!!!.

Gitlab is running on CentOS machine with a omnibus version 7.6.2. I'm available to get some other informations (log,s screenshot) and collaborate to resolve this issue, Any help is appreciated!

EDIT: I try the same thing also in a ubuntu machine and i find this conclusion: If you do some operations (also in a protected branch) in your local repository and some operations consists one or more tags, an then you try to push in you remote repository with a command "git push --tags" the operation is working without any error code. If you try to push without tags the operation ended unsuccesfully ( as expected).

Am I the only one that found this bug? Is a wrong configuration on gitlab server? Is otherwise a issue?

Assignee
Assign to
Time tracking