0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 14:47:20 +01:00
gitea/services/convert
Edward Zhang 02e183bf3f
Fix branch_protection api shows users/teams who has no readAccess (#30291)
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>
2024-04-17 15:24:07 +02:00
..
activity.go
attachment.go
convert.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-17 15:24:07 +02:00
git_commit_test.go
git_commit.go
issue_comment.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_test.go
issue.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
main_test.go
mirror.go
notification.go
package.go
pull_review_test.go
pull_review.go
pull_test.go
pull.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
release_test.go
release.go
repository.go
secret.go
status.go
user_test.go
user.go Update API to return 'source_id' for users (#29718) 2024-04-16 06:08:48 +00:00
utils_test.go
utils.go
wiki.go