diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-07-04 18:20:48 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-07-04 18:20:48 +0300 |
commit | fa349c08ce16cdeb6f76e3a4c904f0ebd597cd6d (patch) | |
tree | c57f3a79999704bf8ec09bad6e2775c8a27953fe /lib | |
parent | 170a15514ae6889079d06d0b1be089bda3d29c52 (diff) | |
parent | 4f795ed823776912e8e9d6d4eb33c345ad2b56b9 (diff) |
Merge branch '4266-board-with-config-api-ce' into 'master'
Backport of EE changes: Allow Labels::FindOrCreateService to find ancestor group labels
Closes #4266
See merge request gitlab-org/gitlab-ce!20364
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 |