1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-12 13:17:44 +03:00
gitea/models/perm/access
wxiaoguang 48d4580dd5
Clarify permission "HasAccess" behavior ()
Follow 

"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 .
* Add new tests.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-04-20 03:15:04 +00:00
..
access_test.go Clarify permission "HasAccess" behavior () 2024-04-20 03:15:04 +00:00
access.go Allow everyone to read or write a wiki by a repo unit setting () 2024-04-17 15:58:37 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
repo_permission_test.go Clarify permission "HasAccess" behavior () 2024-04-20 03:15:04 +00:00
repo_permission.go Clarify permission "HasAccess" behavior () 2024-04-20 03:15:04 +00:00