forgejo/models
Giteabot 5afb0294f4
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>
(cherry picked from commit 3a29712e0a)
2023-07-30 07:46:19 +02:00
..
actions Fix wrong workflow status when rerun a job in an already finished workflow (#26119) (#26124) 2023-07-26 13:49:15 +02:00
activities [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
admin
asymkey
auth Remove "misc" scope check from public API endpoints (#26134) (#26149) 2023-07-26 13:51:46 +02:00
avatars
db
dbfs
fixtures Fix access check for org-level project (#26182) (#26223) 2023-07-30 07:46:19 +02:00
forgejo_migrations [MODERATION] user blocking 2023-07-17 00:26:42 +02:00
git Fix bugs in LFS meta garbage collection (#26122) (#26157) 2023-07-30 07:43:05 +02:00
issues Fix bug when pushing to a pull request which enabled dismiss approval automatically (#25882) (#26158) 2023-07-30 07:46:18 +02:00
migrations Prevent primary key update on migration (#26192) (#26199) 2023-07-30 07:46:18 +02:00
organization Remove unused code (#25734) (#25788) 2023-07-09 19:47:58 +00:00
packages
perm
project Update xorm version (#26128) (#26150) 2023-07-26 13:50:10 +02:00
pull
repo [MODERATION] organization blocking a user (#802) 2023-07-17 00:26:42 +02:00
secret
shared/types
system
unit
unittest
user Merge remote-tracking branch 'forgejo/v1.20/forgejo-moderation' into v1.20/forgejo 2023-07-17 08:01:23 +02:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go