forgejo-federation/models/migrations/v1_20
yp05327 6eb856c614
Fix owner team access mode value in team_unit table (#23675)
All `access_mode` value of Owner Teams are 0(AccessModeNone) in
`team_unit` table, which should be 4(AccessModeOwner)
In `team` table:

![image](https://user-images.githubusercontent.com/18380374/227409457-1b9660ae-8cf7-49c8-a013-1850b46baebc.png)
In `team_unit` table:

![image](https://user-images.githubusercontent.com/18380374/227409429-a793dd90-4ae1-4191-b95b-e288c591f9fd.png)

ps: In https://github.com/go-gitea/gitea/pull/23630, `access_mode` in
`team_unit` is used to check the team unit permission, but I found that
user can not see issues in owned org repos.
2023-04-03 10:36:35 -04:00
..
v244.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
v245.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
v246.go Fix missed migration in #22235 (#23482) 2023-03-15 10:33:10 +01:00
v247.go Do not store user projects as organization projects (#23353) 2023-03-17 21:07:23 +08:00
v248.go Display the version of runner in the runner list (#23490) 2023-03-19 22:19:40 -04:00
v249.go Improve indices for action table (#23532) 2023-03-24 23:44:33 +08:00
v250.go Display image size for multiarch container images (#23821) 2023-04-02 17:53:37 +08:00
v251.go Fix owner team access mode value in team_unit table (#23675) 2023-04-03 10:36:35 -04:00