Updated Status comments/context to be visible to logged in users

• Updated:
- Status comments/context to be visible to logged in users
This commit is contained in:
mgabdev
2021-01-13 22:28:09 -05:00
parent 670d6b7c65
commit 129a97c1ee
3 changed files with 13 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ class Api::V1::StatusesController < Api::BaseController
before_action -> { authorize_if_got_token! :read, :'read:statuses' }, except: [:create, :update, :destroy]
before_action -> { doorkeeper_authorize! :write, :'write:statuses' }, only: [:create, :update, :destroy]
before_action :require_user!, except: [:show, :comments, :context, :card]
before_action :require_user!, except: [:show]
before_action :set_status, only: [:show, :comments, :context, :card, :update, :revisions]
# This API was originally unlimited, pagination cannot be introduced without