1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-07 07:14:44 +00:00
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
..
2024-04-08 21:26:41 +00:00
2024-04-08 21:26:41 +00:00
2024-04-08 21:26:41 +00:00
2023-05-08 19:49:59 +08:00
2024-01-31 14:55:12 +00:00