Files
gitlabhq/lib
Dmitriy Zaporozhets 9e6466c784 Merge branch 'api-remove-branch' into 'master'
New rules for protected branches

This MR change permissions logic for branch removal. Changes listed below:

Before
* developer can remove branch with terminal but not in UI
* masters can remove any branch with UI even protected one
* force-push to protected branch is not allowed but remove is allowed

After
* none can force push or remove protected branches
* developers and masters can remove normal branches with console and UI
2014-05-23 06:06:22 +00:00
..
2014-05-22 14:39:50 +03:00