0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 10:38:42 +01:00
gitea/models/organization
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
..
main_test.go
mini_org.go
org_repo.go
org_test.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
org_user_test.go
org_user.go
org.go
team_invite_test.go
team_invite.go
team_list.go
team_repo.go
team_test.go
team_unit.go
team_user.go
team.go