Skip authorization checks for amf controller

This commit is contained in:
Andy Allan 2019-01-09 10:26:12 +01:00
parent 89399c5ba1
commit 18e418cc4c

View file

@ -41,6 +41,11 @@ class AmfController < ApplicationController
skip_before_action :verify_authenticity_token
before_action :check_api_writable
# AMF Controller implements its own authentication and authorization checks
# completely independently of the rest of the codebase, so best just to let
# it keep doing its own thing.
skip_authorization_check
# Main AMF handlers: process the raw AMF string (using AMF library) and
# calls each action (private method) accordingly.