gitea/services
Giteabot d88958bb99
Fix branch_protection api shows users/teams who has no readAccess (#30291) (#30544)
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>
2024-04-17 13:50:49 +00:00
..
actions Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30409) 2024-04-11 07:51:02 +00:00
agit
asymkey
attachment Add support for API blob upload of release attachments (#29507) 2024-03-02 17:02:01 +00:00
auth
automerge Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
context
contexttest
convert Fix branch_protection api shows users/teams who has no readAccess (#30291) (#30544) 2024-04-17 13:50:49 +00:00
cron
doctor
externalaccount
feed
forms
gitdiff
indexer
issue
lfs
mailer
markup
migrations
mirror
notify
org
packages
pull
release
repository
secrets
task
uinotification
user
webhook
wiki