Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-15 06:11:59 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-15 06:11:59 +0300
commit29c6745feab7edf3c0485b34b5e5fffdded9c402 (patch)
tree0953ef194cd5a2cd4ad750804ffe135539b46f6b /app/controllers
parentff45b1aea7367cf98a5b70e8324e4826c119bf87 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/issue_links_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/issue_links_controller.rb b/app/controllers/projects/issue_links_controller.rb
index 956557457fa..4a5f9309aed 100644
--- a/app/controllers/projects/issue_links_controller.rb
+++ b/app/controllers/projects/issue_links_controller.rb
@@ -13,7 +13,7 @@ module Projects
private
def authorize_admin_issue_link!
- render_403 unless can?(current_user, :admin_issue_link, @project)
+ render_403 unless can?(current_user, :admin_issue_link, issue)
end
def authorize_issue_link_association!