1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
yp05327 bbf83f5d4b
Improve permission check of packages (#23879)
At first, we have one unified team unit permission which is called
`Team.Authorize` in DB.
But since https://github.com/go-gitea/gitea/pull/17811, we allowed
different units to have different permission.

The old code is only designed for the old version. So after #17811, if
org users have write permission of other units, but have no permission
of packages, they can also get write permission of packages.

Co-authored-by: delvh <dev.lh@web.de>
2023-04-06 22:18:29 +08:00
..
2019-05-04 11:45:34 -04:00
2022-09-20 15:59:20 +08:00
2022-09-20 15:59:20 +08:00
2023-02-18 21:17:39 +02:00
2023-02-18 21:17:39 +02:00
2020-08-16 23:07:38 -04:00
2019-12-15 08:11:31 +00:00
2019-12-07 17:04:19 -05:00
2023-03-09 09:24:23 +08:00
2021-02-11 18:32:25 +01:00
2019-12-11 23:23:05 -05:00
2023-03-10 08:28:32 -06:00