1
1
mirror of https://github.com/go-gitea/gitea synced 2025-03-03 01:04:18 +00:00

2 Commits

Author SHA1 Message Date
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
wxiaoguang
3feba9f1f4
Allow everyone to read or write a wiki by a repo unit setting ()
Replace 
Help 
Wiki solution for 
2024-04-17 15:58:37 +00:00