diff options
author | Mark Chao <mchao@gitlab.com> | 2018-07-04 17:52:58 +0800 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2018-07-04 20:48:50 +0800 |
commit | 4f795ed823776912e8e9d6d4eb33c345ad2b56b9 (patch) | |
tree | c4886e114c6de12600c5ad25e5ab9a6cb9257342 /lib | |
parent | ecf9c145f6e4d170cd059df88743393d9e63c489 (diff) | |
download | gitlab-ce-4f795ed823776912e8e9d6d4eb33c345ad2b56b9.tar.gz |
Backport from EE !5954
Allow Labels::FindOrCreateService to find ancestor group labels
Add authentication check on API endpoint
Update flayignore
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/boards.rb | 1 |
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 |