forgejo/models/unit
Gusted ae0d8d94df
Let MinUnitAccessMode return correct perm ()
- 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  (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 () 2022-02-08 21:16:17 +00:00