Merge branch 'develop' into 'openapi/admin/relay'
authorminibikini <egor@kislitsyn.com>
Thu, 4 Jun 2020 13:29:32 +0000 (13:29 +0000)
committerminibikini <egor@kislitsyn.com>
Thu, 4 Jun 2020 13:29:32 +0000 (13:29 +0000)
# Conflicts:
#   lib/pleroma/web/admin_api/controllers/admin_api_controller.ex

1  2 
lib/pleroma/web/admin_api/controllers/admin_api_controller.ex
lib/pleroma/web/router.ex
test/web/admin_api/controllers/admin_api_controller_test.exs

index b7fcd4bbf12380da294d11f9ef85d3782c993cdb,bf24581ccc8c0966e64b1da1319e554f96516dcf..17eb4533f6a8f94a29bab7502696262f2b6bf5a9
@@@ -17,9 -16,9 +16,8 @@@ defmodule Pleroma.Web.AdminAPI.AdminAPI
    alias Pleroma.Web.ActivityPub.ActivityPub
    alias Pleroma.Web.ActivityPub.Builder
    alias Pleroma.Web.ActivityPub.Pipeline
 -  alias Pleroma.Web.ActivityPub.Relay
    alias Pleroma.Web.AdminAPI
    alias Pleroma.Web.AdminAPI.AccountView
-   alias Pleroma.Web.AdminAPI.ConfigView
    alias Pleroma.Web.AdminAPI.ModerationLogView
    alias Pleroma.Web.AdminAPI.Search
    alias Pleroma.Web.Endpoint
      OAuthScopesPlug,
      %{scopes: ["read"], admin: true}
      when action in [
-            :config_show,
             :list_log,
             :stats,
-            :config_descriptions,
 -           :relay_list,
             :need_reboot
           ]
    )
Simple merge