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/services/convert
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>
10 months ago
..
activity.go For API attachments, use API URL (#25639) 2 years ago
attachment.go Fix attachment download bug (#27486) 1 year ago
convert.go Allow everyone to read or write a wiki by a repo unit setting (#30495) 10 months ago
git_commit.go Move context from modules to services (#29440) 11 months ago
git_commit_test.go Adjust object format interface (#28469) 1 year ago
issue.go Fix missed doer (#30231) 10 months ago
issue_comment.go Fix missed doer (#30231) 10 months ago
issue_test.go Move `convert` package to services (#22264) 2 years ago
main_test.go make writing main test easier (#27270) 1 year ago
mirror.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
notification.go Performance improvements for pull request list page (#29900) 11 months ago
package.go Clarify permission "HasAccess" behavior (#30585) 10 months ago
pull.go Fix missed doer (#30231) 10 months ago
pull_review.go Fix possible NPE in ToPullReviewList (#29759) 11 months ago
pull_review_test.go Fix possible NPE in ToPullReviewList (#29759) 11 months ago
pull_test.go Fix `Permission` in API returned repository struct (#25388) 2 years ago
release.go add Upload URL to release API (#26663) 1 year ago
release_test.go add Upload URL to release API (#26663) 1 year ago
repository.go Allow everyone to read or write a wiki by a repo unit setting (#30495) 10 months ago
secret.go feat: implement organization secret creation API (#26566) 1 year ago
status.go refactor improve NoBetterThan (#26126) 2 years ago
user.go Allow everyone to read or write a wiki by a repo unit setting (#30495) 10 months ago
user_test.go Add context cache as a request level cache (#22294) 2 years ago
utils.go Move `convert` package to services (#22264) 2 years ago
utils_test.go Rewrite queue (#24505) 2 years ago
wiki.go Fix an actions schedule bug (#28942) 1 year ago