-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/pull/1926'
- Loading branch information
Showing
3 changed files
with
27 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ class NotesController < ApiController | |
|
||
before_action :check_api_readable | ||
before_action :setup_user_auth, :only => [:create, :comment, :show] | ||
before_action :authorize, :only => [:close, :reopen, :destroy] | ||
before_action :authorize, :only => [:close, :reopen, :destroy, :comment] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
woodpeck
Contributor
|
||
|
||
authorize_resource | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Was there a reason/discussion for requiring authentication when commenting on a note?
If yes, could you update the documentation?