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:
authorMark Chao <mchao@gitlab.com>2018-07-04 12:52:58 +0300
committerMark Chao <mchao@gitlab.com>2018-07-04 15:48:50 +0300
commit4f795ed823776912e8e9d6d4eb33c345ad2b56b9 (patch)
treec4886e114c6de12600c5ad25e5ab9a6cb9257342 /lib/api/boards.rb
parentecf9c145f6e4d170cd059df88743393d9e63c489 (diff)
Backport from EE !5954
Allow Labels::FindOrCreateService to find ancestor group labels Add authentication check on API endpoint Update flayignore
Diffstat (limited to 'lib/api/boards.rb')
-rw-r--r--lib/api/boards.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/boards.rb b/lib/api/boards.rb
index 6c706b2b4e1..086d39d5070 100644
--- a/lib/api/boards.rb
+++ b/lib/api/boards.rb
@@ -33,6 +33,7 @@ module API
success Entities::Board
end
get '/:board_id' do
+ authorize!(:read_board, user_project)
present board, with: Entities::Board
end
end