Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/services/doctor
Gusted 9de9034400
[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
2024-10-11 14:48:47 +02:00
..
authorizedkeys.go fix: correct doctor commands and rename to forgejo 2024-08-27 02:40:55 +02:00
breaking.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
checkOldArchives.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
dbconsistency.go [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
dbversion.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
doctor.go feat: add optional storage init to doctor commands 2024-04-04 17:21:12 +02:00
fix8312.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
fix16961.go Fix panic for fixBrokenRepoUnits16961 (#30068) 2024-03-30 07:17:30 +01:00
fix16961_test.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
heads.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
lfs.go Refactor LFS GC functions 2024-04-05 16:49:15 +02:00
mergebase.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
misc.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
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 Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
storage.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
usertype.go Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00