0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 18:34:10 -05:00
forgejo/services
Edward Zhang b3a6596b54
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>
(cherry picked from commit 02e183bf3fa502b7cef76e8dcdbf01b85ce641f0)
2024-04-21 16:28:16 +02:00
..
actions Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-15 20:01:36 +02:00
agit
asymkey
attachment
auth fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2024-04-15 20:01:36 +02:00
automerge
context Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
contexttest add label filters in org/{org_name}/issues 2024-04-04 17:57:11 +05:30
convert Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-21 16:28:16 +02:00
cron Update checker setting updates 2024-03-31 10:52:24 +05:00
doctor Count downloads for tag archives 2024-04-08 12:51:27 +02:00
externalaccount
feed
forgejo
forms [I18N] Improve English locale 2024-04-06 23:06:39 +05:00
gitdiff
indexer
issue
lfs
mailer services: Use proper Message-IDs for release mails 2024-04-18 13:44:18 +02:00
markup
migrations Change the default maxPerPage for gitbucket (#30392) 2024-04-15 20:01:36 +02:00
mirror Avoid losing token when updating mirror settings (#30429) 2024-04-15 20:01:36 +02:00
notify Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
org
packages
pull Do not update PRs based on events that happened before they existed 2024-04-11 11:16:23 +02:00
release Fix release published actions not triggering for releases created from existing tags 2024-04-15 22:53:53 +02:00
repository Allow admins to fork repos even when creation limits are exhausted (#3277) 2024-04-17 05:52:02 +00:00
secrets
task
uinotification
user Check the token's owner and repository when registering a runner (#30406) 2024-04-16 09:38:26 +02:00
webhook webhook: matrix use v3 endpoint and drop headers 2024-04-16 08:59:56 +02:00
wiki Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00