gitea/routers/api/v1
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
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin Fix empty field `login_name` in API response JSON when creating user (#30511) (#30516) 2024-04-16 19:34:48 +02:00
misc Fix wrong test usage of `AppSubURL` (#29459) 2024-02-29 03:39:24 +00:00
notify Clean up log messages (#30313) (#30318) 2024-04-07 11:44:09 +00:00
org Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Fix branch_protection api shows users/teams who has no readAccess (#30291) (#30544) 2024-04-17 13:50:49 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
swagger Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
user Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00