diff options
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 |