Write my own damned auth logic
Remove sinatra-basic-auth from gemfile
Remove sinatra-basic-auth from gemfile
Extract ::access_denied method
Rearrange methods in alphabetical order
Change whitespace issue causing tests to fail
Replace json with sinatra-contrib
Extract authorized_for_resource? method
Add back JSON
Make it return 404 when appropriate
Combine 4 lines into 2
Add #owner and #owner_id methods
Add #owner_id method
Add #owner_id method
Add test for #owner_id method
Merge ::protected! to cover boilerplate methods too
Resolve merge conflict