Skip to content

Commit

Permalink
Authorize user on note update
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbot committed Jul 1, 2013
1 parent 20b2a0b commit 1216a62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/notes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class NotesController < ProjectResourceController
# Authorize
before_filter :authorize_read_note!
before_filter :authorize_write_note!, only: [:create]
before_filter :authorize_modify_note!, only: [:update]

respond_to :js

Expand Down

0 comments on commit 1216a62

Please sign in to comment.