forgejo/models
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
..
actions fix: don't cancel schedule workflows on push to main branch 2024-10-13 12:25:59 +00:00
activities Repo Activity: count new issues that were closed (#31776) 2024-09-27 08:13:30 +00:00
admin
asymkey
auth [FEAT] Add support for webauthn credential level 3 2024-08-29 10:05:03 +02:00
avatars chore(build): use a stable mirror for go-libravatar 2024-09-14 09:58:49 +02:00
db
dbfs
fixtures Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-06 11:34:08 +02:00
forgefed
forgejo/semver
forgejo_migrations [FEAT] Add support for webauthn credential level 3 2024-08-29 10:05:03 +02:00
git
issues Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-06 11:34:08 +02:00
migrations
organization [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00
packages
perm
project
pull
quota
repo
secret
shared/types
system
unit i18n: UX improvements: Team permissions and issue closing 2024-09-24 19:03:30 +02:00
unittest
user Fix bug when a token is given public only 2024-10-11 05:24:23 +03:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go