Enable missing before actions in Collection API (#37122)

This commit is contained in:
David Roetzel
2025-12-04 16:35:47 +01:00
committed by GitHub
parent 88aed3c11a
commit 75b9e9a8b0
2 changed files with 6 additions and 6 deletions

View File

@@ -9,9 +9,9 @@ class Api::V1Alpha::CollectionsController < Api::BaseController
before_action :check_feature_enabled
before_action -> { doorkeeper_authorize! :write, :'write:collections' }, only: [:create]
before_action -> { doorkeeper_authorize! :write, :'write:collections' }, only: [:create, :update, :destroy]
before_action :require_user!, only: [:create]
before_action :require_user!, only: [:create, :update, :destroy]
before_action :set_collection, only: [:show, :update, :destroy]