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.
2483a93fbc
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 weeks ago | |
---|---|---|
.. | ||
access.yml | 2 weeks ago | |
access_token.yml | 1 year ago | |
action.yml | 2 years ago | |
action_artifact.yml | 3 months ago | |
action_run.yml | 2 months ago | |
action_run_job.yml | 1 month ago | |
action_runner_token.yml | 1 year ago | |
action_task.yml | 2 months ago | |
action_task_output.yml | 2 months ago | |
attachment.yml | 1 year ago | |
branch.yml | 2 months ago | |
collaboration.yml | 11 months ago | |
comment.yml | 4 months ago | |
commit_status.yml | 8 years ago | |
commit_status_index.yml | 1 year ago | |
deploy_key.yml | 7 years ago | |
email_address.yml | 11 months ago | |
external_login_user.yml | 3 years ago | |
follow.yml | 2 years ago | |
gpg_key.yml | 1 year ago | |
gpg_key_import.yml | 6 years ago | |
hook_task.yml | 11 months ago | |
issue.yml | 11 months ago | |
issue_assignees.yml | 11 months ago | |
issue_index.yml | 8 months ago | |
issue_label.yml | 5 years ago | |
issue_user.yml | 4 years ago | |
issue_watch.yml | 5 years ago | |
label.yml | 1 month ago | |
lfs_meta_object.yml | 3 months ago | |
login_source.yml | 7 years ago | |
milestone.yml | 2 years ago | |
mirror.yml | 2 years ago | |
notice.yml | 8 years ago | |
notification.yml | 5 years ago | |
oauth2_application.yml | 2 years ago | |
oauth2_authorization_code.yml | 2 years ago | |
oauth2_grant.yml | 2 years ago | |
org_user.yml | 3 months ago | |
project.yml | 10 months ago | |
project_board.yml | 10 months ago | |
project_issue.yml | 5 years ago | |
protected_branch.yml | 8 years ago | |
protected_tag.yml | 1 month ago | |
public_key.yml | 1 year ago | |
pull_request.yml | 9 months ago | |
reaction.yml | 1 year ago | |
release.yml | 1 year ago | |
renamed_branch.yml | 3 years ago | |
repo_archiver.yml | 4 years ago | |
repo_indexer_status.yml | 7 years ago | |
repo_license.yml | 4 months ago | |
repo_redirect.yml | 8 years ago | |
repo_topic.yml | 5 years ago | |
repo_transfer.yml | 11 months ago | |
repo_unit.yml | 4 months ago | |
repository.yml | 3 months ago | |
review.yml | 2 months ago | |
star.yml | 11 months ago | |
stopwatch.yml | 5 years ago | |
system_setting.yml | 2 months ago | |
team.yml | 8 months ago | |
team_repo.yml | 11 months ago | |
team_unit.yml | 8 months ago | |
team_user.yml | 8 months ago | |
topic.yml | 2 years ago | |
tracked_time.yml | 5 years ago | |
two_factor.yml | 6 years ago | |
user.yml | 2 months ago | |
user_blocking.yml | 11 months ago | |
user_open_id.yml | 8 years ago | |
user_redirect.yml | 4 years ago | |
watch.yml | 11 months ago | |
webauthn_credential.yml | 2 years ago | |
webhook.yml | 3 weeks ago |