Make backups require its own scope (#218)
authorNorm <normandy@biribiri.dev>
Mon, 19 Sep 2022 17:31:35 +0000 (17:31 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Mon, 19 Sep 2022 17:31:35 +0000 (17:31 +0000)
commit561e1f2470d813aa7b894a59779b8bccb91122f0
treed149734a7a36c34c53322dc5071a14d0d069a399
parent0aabe4d0c3f3e5c3a32e4873bee7af90f748c49c
Make backups require its own scope (#218)

Pulled from https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3721.

This makes backups require its own scope (`read:backups`) instead of the `read:accounts` scope.

Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/218
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
CHANGELOG.md
lib/pleroma/web/api_spec/operations/pleroma_backup_operation.ex
lib/pleroma/web/pleroma_api/controllers/backup_controller.ex
test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs