0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-09 21:21:53 -05:00
forgejo/models
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
..
actions Support compression for Actions logs (#31761) 2024-08-13 06:51:49 +02:00
activities Repo Activity: count new issues that were closed (#31776) 2024-09-27 08:42:48 +02:00
admin
asymkey Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
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 style: reenable switch check 2024-08-18 15:19:01 +02:00
dbfs
fixtures Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-06 07:44:28 +02:00
forgefed
forgejo/semver
forgejo_migrations [FEAT] Add support for webauthn credential level 3 2024-08-29 10:05:03 +02:00
git Merge pull request '[gitea] week 2024-34 cherry pick (gitea/main -> forgejo)' (#4998) from earl-warren/wcp/2024-34 into forgejo 2024-08-20 06:32:09 +00:00
issues Merge pull request '[gitea] week 2024-41 cherry pick (gitea/main -> forgejo)' (#5477) from earl-warren/wcp/2024-41 into forgejo 2024-10-09 05:02:20 +00:00
migrations Fix linting issues 2024-08-18 16:25:13 +02:00
organization [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
packages
perm
project
pull
quota feat: Trivial default quota configuration 2024-08-26 13:25:34 +02:00
repo [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
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-10 10:41:42 +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