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-16 03:12:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-16 03:12:06 +0300
commitd22bc415db079dfffb443cf2e0e428542a8b14db (patch)
treeefade75bdb2b49c872ae493340c76e9b2095d344 /app/controllers
parenta7d47330045c163760517a49f5fd35854e089c6e (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 4a5f9309aed..956557457fa 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, issue)
+ render_403 unless can?(current_user, :admin_issue_link, @project)
end
def authorize_issue_link_association!