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/models/perm
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>
1 month ago
..
access Clarify permission "HasAccess" behavior (#30585) 1 month ago
access_mode.go Allow everyone to read or write a wiki by a repo unit setting (#30495) 1 month ago
access_mode_test.go Allow everyone to read or write a wiki by a repo unit setting (#30495) 1 month ago