gitea/services
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
..
actions Use action user as the trigger user of schedules (#30581) 2024-04-20 02:35:29 +02:00
agit
asymkey
attachment
auth fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 2024-04-14 12:46:56 +08:00
automerge
context Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00
contexttest
convert Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00
cron
doctor
externalaccount
feed
forms Allow everyone to read or write a wiki by a repo unit setting (#30495) 2024-04-17 15:58:37 +00:00
gitdiff
indexer
issue Fix code owners will not be mentioned when a pull request comes from a forked repository (#30476) 2024-04-15 16:11:07 +02:00
lfs
mailer
markup
migrations
mirror
notify
org
packages
pull
release
repository Clarify permission "HasAccess" behavior (#30585) 2024-04-20 03:15:04 +00:00
secrets
task
uinotification
user
webhook
wiki