Commit 9e80c203 authored by lulalala's avatar lulalala Committed by Mark Chao

Authorize for single board reading

parent 79d64720
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment