0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 07:13:02 -05:00
forgejo/models/repo
Gusted c2284d871f
fix: anomynous users code search for private/limited user's repository
- Consider private/limited users in the `AccessibleRepositoryCondition`
query, previously this only considered private/limited organization.
This limits the ability for anomynous users to do code search on
private/limited user's repository
- Unit test added.

(cherry picked from commit b70196653f)
2024-11-15 11:59:22 +01:00
..
TestSearchRepositoryIDsByCondition fix: anomynous users code search for private/limited user's repository 2024-11-15 11:59:22 +01:00
archiver.go
attachment.go
attachment_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
avatar.go
collaboration.go
collaboration_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
fork.go fix: don't show private forks in forks list 2024-11-15 11:58:58 +01:00
fork_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
git.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
issue.go Clean up log messages (#30313) 2024-04-15 16:11:14 +02:00
language_stats.go
main_test.go
mirror.go
pushmirror.go test(mock): DeletePushMirrors & AddPushMirrorRemote 2024-06-02 15:45:31 +00:00
pushmirror_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
redirect.go
redirect_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
release.go Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
release_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
repo.go fix: hook post-receive for sha256 repos 2024-05-15 21:08:15 +00:00
repo_flags.go
repo_flags_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
repo_indexer.go
repo_list.go fix: anomynous users code search for private/limited user's repository 2024-11-15 11:59:22 +01:00
repo_list_test.go fix: anomynous users code search for private/limited user's repository 2024-11-15 11:59:22 +01:00
repo_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
repo_unit.go Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
repo_unit_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
search.go Get repo list with OrderBy alpha should respect owner too (#30784) (#30875) 2024-05-14 15:27:25 +02:00
star.go
star_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
topic.go
topic_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
update.go
upload.go
user_repo.go Get repo assignees and reviewers should ignore deactivated users (#30770) (#30782) 2024-05-01 08:31:47 +02:00
user_repo_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
watch.go
watch_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
wiki.go
wiki_test.go enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00