0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-21 08:44:14 +01:00
gitea/models/unit
Gusted ae0d8d94df
Let MinUnitAccessMode return correct perm (#18675)
- Don't let `TypeExternalTracker` or `TypeExternalWiki` influence the
minimal permission, as they won't be higher than read. So even if all
the other ones are write, these 2 will ensure that's not higher than
read.
- Partially resolves #18572 (Point 1,2,5?)

Co-authored-by: zeripath <art27@cantab.net>
2022-02-08 21:16:17 +00:00
..
unit.go Let MinUnitAccessMode return correct perm (#18675) 2022-02-08 21:16:17 +00:00