0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 11:57:03 +01:00
gitea/routers/api/v1/repo
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
..
action.go Add API for Variables (#29520) 2024-03-28 20:40:35 +00:00
avatar.go
blob.go
branch.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-17 15:24:07 +02:00
collaborators.go
commits.go
compare.go feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
file.go Remove repetitive words (#30091) 2024-03-26 15:48:53 +08:00
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_attachment.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_comment_attachment.go
issue_comment.go
issue_dependency.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_label.go
issue_pin.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go
pull_review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-28 15:19:24 +00:00
pull.go
release_attachment.go
release_tags.go
release.go
repo_test.go
repo.go Remove scheduled action tasks if the repo is archived (#30224) 2024-04-01 13:48:14 +00:00
runners.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go Refactor topic Find functions and add more tests for pagination (#30127) 2024-03-29 11:38:16 +08:00
transfer.go
tree.go
wiki.go