You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
mini_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org.go Fix owner team access mode value in team_unit table (#23675) 2 years ago
org_repo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org_test.go Improve permission check of packages (#23879) 2 years ago
org_user.go Rename almost all Ctx functions (#22071) 2 years ago
org_user_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
team.go Rename `GetUnits` to `LoadUnits` (#22970) 2 years ago
team_invite.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_invite_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_list.go Rename `GetUnits` to `LoadUnits` (#22970) 2 years ago
team_repo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
team_unit.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_user.go Support org/user level projects (#22235) 2 years ago