b3a6596b54
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: techknowlogick <techknowlogick@gitea.com> Co-authored-by: wenzhuo.zhang <wenzhuo.zhang@geely.com> Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 02e183bf3fa502b7cef76e8dcdbf01b85ce641f0) |
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
convert.go | ||
git_commit.go | ||
git_commit_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_test.go | ||
main_test.go | ||
mirror.go | ||
notification.go | ||
package.go | ||
pull.go | ||
pull_review.go | ||
pull_test.go | ||
release.go | ||
release_test.go | ||
repository.go | ||
secret.go | ||
status.go | ||
user.go | ||
user_test.go | ||
utils.go | ||
utils_test.go | ||
wiki.go |