mirror of
1
Fork 0
forgejo/routers
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
..
api fix: don't cancel schedule workflows on push to main branch 2024-10-13 12:25:59 +00:00
common [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
install [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
private feat(quota): Quota enforcement 2024-08-02 11:10:34 +02:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
init.go Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00