forgejo/models/fixtures
KN4CK3R 1b630ff7cd
Fix user visible check (#21210)
Fixes #21206

If user and viewer are equal the method should return true.
Also the common organization check was wrong as `count` can never be
less then 0.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-20 15:59:20 +08:00
..
access.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
access_token.yml
action.yml GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
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 add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
follow.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
foreign_reference.yml Store the foreign ID of issues during migration (#18446) 2022-03-17 18:08:35 +01:00
gpg_key.yml
gpg_key_import.yml
hook_task.yml
issue.yml Fix issue overview for teams (#19652) 2022-05-16 17:49:17 +08:00
issue_assignees.yml Fix issue overview for teams (#19652) 2022-05-16 17:49:17 +08:00
issue_index.yml Fix issue overview for teams (#19652) 2022-05-16 17:49:17 +08:00
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml
login_source.yml
milestone.yml migrations: a deadline at January 1st, 1970 is valid (#18237) 2022-01-13 14:03:30 +08:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
project.yml
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml
renamed_branch.yml Add a simple way to rename branch like gh (#15870) 2021-10-08 19:03:04 +02:00
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml
repository.yml Exclude Archived repos from Dashboard Milestones (#19882) 2022-06-04 19:30:01 +01:00
review.yml
star.yml
stopwatch.yml
team.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
team_repo.yml
team_unit.yml Fix issue overview for teams (#19652) 2022-05-16 17:49:17 +08:00
team_user.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml Fix user visible check (#21210) 2022-09-20 15:59:20 +08:00
user_open_id.yml
user_redirect.yml
watch.yml
webauthn_credential.yml Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
webhook.yml