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?