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/tests
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
..
e2e Remove repetitive words (#30091) 10 months ago
fuzz Rework markup link rendering (#26745) 1 year ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Use raw Wiki links for non-renderable Wiki files (#30273) 10 months ago
integration Clarify permission "HasAccess" behavior (#30585) 10 months ago
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) 1 year ago
mssql.ini.tmpl Disable query token param in integration tests (#28592) 1 year ago
mysql.ini.tmpl Disable query token param in integration tests (#28592) 1 year ago
pgsql.ini.tmpl Disable query token param in integration tests (#28592) 1 year ago
sqlite.ini.tmpl Disable query token param in integration tests (#28592) 1 year ago
test_utils.go Allow get release download files and lfs files with oauth2 token format (#26430) 1 year ago