allow users with admin:metrics to read app metrics
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 16 Dec 2022 03:32:51 +0000 (03:32 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 16 Dec 2022 03:32:51 +0000 (03:32 +0000)
commitc2054f82abbd67045de21e232e0731e6dbac55a0
treebf2a1d12c1f71c1c08213a89e45e568d62395536
parentb8be8192fbfe8c27b457094e8d64ccb1c3a29f7f
allow users with admin:metrics to read app metrics
14 files changed:
.gitignore
lib/pleroma/web/akkoma_api/controllers/metrics_controller.ex
lib/pleroma/web/plugs/rate_limiter.ex
lib/pleroma/web/router.ex
lib/pleroma/web/telemetry.ex
lib/pleroma/web/templates/layout/app.html.eex
lib/pleroma/web/templates/layout/static_fe.html.eex
lib/pleroma/web/templates/o_auth/o_auth/oob_authorization_created.html.eex
lib/pleroma/web/templates/o_auth/o_auth/show.html.eex
mix.exs
priv/static/static-fe/forms.css [new file with mode: 0644]
priv/static/static-fe/static-fe.css
scripts/create_metrics_app.sh [new file with mode: 0755]
test/support/factory.ex