forgejo/models/fixtures
Giteabot 3a29712e0a
Fix access check for org-level project (#26182) (#26223)
Backport #26182 by @Zettat123

Fix #25934

Add `ignoreGlobal` parameter to `reqUnitAccess` and only check global
disabled units when `ignoreGlobal` is true. So the org-level projects
and user-level projects won't be affected by global disabled
`repo.projects` unit.

Co-authored-by: Zettat123 <zettat123@gmail.com>
2023-07-29 18:50:58 +00:00
..
access.yml
access_token.yml
action.yml
action_run.yml
action_run_job.yml
action_task.yml
attachment.yml
collaboration.yml
comment.yml
commit_status.yml
commit_status_index.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
external_login_user.yml
follow.yml
gpg_key.yml
gpg_key_import.yml
hook_task.yml
issue.yml
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml
lfs_meta_object.yml
login_source.yml
milestone.yml
mirror.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
project.yml Fix incorrect oldest sort in project list (#25806) (#25835) 2023-07-12 13:22:17 +08:00
project_board.yml
project_issue.yml
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
repository.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
review.yml
star.yml
stopwatch.yml
system_setting.yml
team.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
team_repo.yml
team_unit.yml Fix access check for org-level project (#26182) (#26223) 2023-07-29 18:50:58 +00:00
team_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
user_open_id.yml
user_redirect.yml
watch.yml
webauthn_credential.yml
webhook.yml