mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Currently, anyone with write permissions to a repo are able to rename default or protected branches. This change follows [GitHub's](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch) design by only allowing repo/site admins to change these branches. However, it also follows are current design for protected branches and only allows admins to modify branch names == branch protection rule names. Glob-based rules cannot be renamed by anyone (as was already the case, but we now catch `ErrBranchIsProtected` which we previously did not catch, throwing a 500). |
2 months ago | |
---|---|---|
.. | ||
TRANSLATORS | 3 years ago | |
locale_cs-CZ.ini | 2 months ago | |
locale_de-DE.ini | 2 months ago | |
locale_el-GR.ini | 2 months ago | |
locale_en-US.ini | 2 months ago | |
locale_es-ES.ini | 2 months ago | |
locale_fa-IR.ini | 3 months ago | |
locale_fi-FI.ini | 3 months ago | |
locale_fr-FR.ini | 2 months ago | |
locale_ga-IE.ini | 2 months ago | |
locale_hu-HU.ini | 3 months ago | |
locale_id-ID.ini | 3 months ago | |
locale_is-IS.ini | 3 months ago | |
locale_it-IT.ini | 3 months ago | |
locale_ja-JP.ini | 2 months ago | |
locale_ko-KR.ini | 3 months ago | |
locale_lv-LV.ini | 2 months ago | |
locale_nl-NL.ini | 3 months ago | |
locale_pl-PL.ini | 3 months ago | |
locale_pt-BR.ini | 3 months ago | |
locale_pt-PT.ini | 2 months ago | |
locale_ru-RU.ini | 2 months ago | |
locale_si-LK.ini | 3 months ago | |
locale_sk-SK.ini | 3 months ago | |
locale_sv-SE.ini | 3 months ago | |
locale_tr-TR.ini | 2 months ago | |
locale_uk-UA.ini | 3 months ago | |
locale_zh-CN.ini | 2 months ago | |
locale_zh-HK.ini | 3 months ago | |
locale_zh-TW.ini | 2 months ago |