0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/services/doctor
Gusted fe35a17dbe [BUG] Don't allow owner team with incorrect unit access
- On editting a team, only update the units if the team isn't the
'Owners' team. Otherwise the 'Owners' team end up having all of their
unit access modes set to 'None'; because the request form doesn't send
over any units, as it's simply not shown in the UI.
- Adds a database inconstency check and fix for the case where the
'Owners' team is affected by this bug.
- Adds unit test.
- Adds integration test.
- Resolves #5528
- Regression of https://github.com/go-gitea/gitea/pull/24012

(cherry picked from commit 9de9034400)
2024-10-14 19:59:17 +00:00
..
authorizedkeys.go fix: correct doctor commands and rename to forgejo 2024-08-27 02:40:55 +02:00
breaking.go
checkOldArchives.go
dbconsistency.go [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
dbversion.go
doctor.go feat: add optional storage init to doctor commands 2024-04-04 17:21:12 +02:00
fix8312.go
fix16961.go Fix panic for fixBrokenRepoUnits16961 (#30068) 2024-03-30 07:17:30 +01:00
fix16961_test.go
heads.go
lfs.go Refactor LFS GC functions 2024-04-05 16:49:15 +02:00
mergebase.go
misc.go
packages_nuget.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
paths.go Replace Gitea with Forgejo 2024-07-24 14:17:23 +00:00
push_mirror_consistency.go [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2024-02-05 16:09:41 +01:00
repository.go
storage.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
usertype.go