You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
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>
10 months ago
..
activitypub Move context from modules to services (#29440) 12 months ago
admin Fix empty field `login_name` in API response JSON when creating user (#30511) 10 months ago
misc Refactor cache and disable go-chi cache (#30417) 10 months ago
notify Clean up log messages (#30313) 10 months ago
org Add API for `Variables` (#29520) 11 months ago
packages remove util.OptionalBool and related functions (#29513) 12 months ago
repo Fix branch_protection api shows users/teams who has no readAccess (#30291) 10 months ago
settings Move context from modules to services (#29440) 12 months ago
shared Add user blocking (#29028) 12 months ago
swagger feat(api): implement branch/commit comparison API (#30349) 10 months ago
user Add setting to disable user features when user login type is not plain (#29615) 11 months ago
utils Move context from modules to services (#29440) 12 months ago
api.go feat(api): implement branch/commit comparison API (#30349) 10 months ago