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). |
4 weeks ago | |
---|---|---|
.. | ||
actions | 4 weeks ago | |
agit | 3 months ago | |
asymkey | 2 months ago | |
attachment | 3 months ago | |
auth | 1 month ago | |
automerge | 1 month ago | |
context | 4 weeks ago | |
contexttest | 2 months ago | |
convert | 1 month ago | |
cron | 2 months ago | |
doctor | 1 month ago | |
externalaccount | 7 months ago | |
feed | 1 month ago | |
forms | 4 weeks ago | |
gitdiff | 1 month ago | |
indexer | 9 months ago | |
issue | 1 month ago | |
lfs | 3 months ago | |
mailer | 1 month ago | |
markup | 2 months ago | |
migrations | 1 month ago | |
mirror | 1 month ago | |
notify | 3 months ago | |
oauth2_provider | 3 months ago | |
org | 2 months ago | |
packages | 1 month ago | |
projects | 6 months ago | |
pull | 1 month ago | |
release | 2 months ago | |
repository | 4 weeks ago | |
secrets | 1 year ago | |
task | 9 months ago | |
uinotification | 1 year ago | |
user | 2 months ago | |
webhook | 1 month ago | |
webtheme | 10 months ago | |
wiki | 1 month ago |