gitea/routers/web/user
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
..
setting Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
code.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
home_test.go Add an trailing slash to dashboard links (#29555) 2024-03-04 01:02:51 +00:00
home.go Expose fuzzy search for issues/pulls (#29701) 2024-04-18 00:16:52 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
package.go Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00
profile.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
search.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
stop_watch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
task.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00