1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 13:21:30 +02:00
gitea/models/fixtures
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
..
access_token.yml
access.yml
action.yml
attachment.yml
collaboration.yml
comment.yml
commit_status_index.yml
commit_status.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
external_login_user.yml
follow.yml
gpg_key_import.yml
gpg_key.yml
hook_task.yml
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
issue.yml
label.yml
lfs_meta_object.yml
login_source.yml
milestone.yml
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
project_board.yml
project_issue.yml
project.yml Fix missed migration in #22235 (#23482) 2023-03-15 10:33:10 +01:00
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml Test renderReadmeFile (#23185) 2023-03-09 09:24:23 +08:00
repository.yml Replace repo.namedBlob by git.TreeEntry. (#22898) 2023-03-15 16:51:39 -05:00
review.yml
star.yml
stopwatch.yml
system_setting.yml
team_repo.yml
team_unit.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
team_user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
team.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
topic.yml
tracked_time.yml
two_factor.yml
user_open_id.yml
user_redirect.yml
user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
watch.yml
webauthn_credential.yml
webhook.yml Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00