gitea/routers/api/v1/repo
wxiaoguang 48d4580dd5
Clarify permission "HasAccess" behavior (#30585)
Follow #30495

"HasAccess" behavior wasn't clear, to make it clear:

* Use a new name `HasAnyUnitAccess`, it will be easier to review related
code and permission problems.
* Separate everyone access mode to a separate field, then all calls to
HasAccess are reverted to old behavior before #30495.
* Add new tests.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-04-20 03:15:04 +00:00
..
action.go Add API for `Variables` (#29520) 2024-03-28 20:40:35 +00:00
avatar.go
blob.go
branch.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-17 15:24:07 +02:00
collaborators.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
commits.go
compare.go feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
file.go Remove repetitive words (#30091) 2024-03-26 15:48:53 +08:00
fork.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_attachment.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_comment.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
issue_comment_attachment.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_dependency.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_label.go
issue_pin.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go
pull.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
pull_review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-28 15:19:24 +00:00
release.go Fix 500 when pushing release to an empty repo (#29554) 2024-03-03 16:49:05 +00:00
release_attachment.go Add support for API blob upload of release attachments (#29507) 2024-03-02 17:02:01 +00:00
release_tags.go
repo.go Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00
repo_test.go
runners.go
star.go
status.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-06 12:17:19 +00:00
subscriber.go
tag.go
teams.go
topic.go Refactor topic Find functions and add more tests for pagination (#30127) 2024-03-29 11:38:16 +08:00
transfer.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
tree.go
wiki.go