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/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>
10 months ago
..
setting Clean up log messages (#30313) 10 months ago
avatar.go Move context from modules to services (#29440) 12 months ago
code.go Remove AddParamIfExist(AddParam) (#29841) 11 months ago
home.go Expose fuzzy search for issues/pulls (#29701) 10 months ago
home_test.go Add an trailing slash to dashboard links (#29555) 12 months ago
main_test.go make writing main test easier (#27270) 1 year ago
notification.go Refactor StringsToInt64s (#29967) 11 months ago
package.go Clarify permission "HasAccess" behavior (#30585) 10 months ago
profile.go Remove AddParamIfExist(AddParam) (#29841) 11 months ago
search.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 12 months ago
stop_watch.go Move context from modules to services (#29440) 12 months ago
task.go Move context from modules to services (#29440) 12 months ago