mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
d88958bb99
Backport #30291 by @edwardzhanged Add some logic in `convert.ToBranchProtection` to return only the names associated with readAccess instead of returning all names. This will ensure consistency in behavior between the frontend and backend. Fixes: #27694 Co-authored-by: Edward Zhang <45360012+edwardzhanged@users.noreply.github.com> Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-authored-by: wenzhuo.zhang <wenzhuo.zhang@geely.com> |
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
convert.go | ||
git_commit_test.go | ||
git_commit.go | ||
issue_comment.go | ||
issue_test.go | ||
issue.go | ||
main_test.go | ||
mirror.go | ||
notification.go | ||
package.go | ||
pull_review_test.go | ||
pull_review.go | ||
pull_test.go | ||
pull.go | ||
release_test.go | ||
release.go | ||
repository.go | ||
secret.go | ||
status.go | ||
user_test.go | ||
user.go | ||
utils_test.go | ||
utils.go | ||
wiki.go |