Adds tests for block lists
This commit is contained in:
parent
901e7f69d4
commit
a907dfdce7
2 changed files with 42 additions and 0 deletions
|
@ -65,6 +65,11 @@ class AddFederatedServer(View):
|
|||
return redirect("settings-federated-server", server.id)
|
||||
|
||||
|
||||
@method_decorator(login_required, name="dispatch")
|
||||
@method_decorator(
|
||||
permission_required("bookwyrm.control_federation", raise_exception=True),
|
||||
name="dispatch",
|
||||
)
|
||||
class ImportServerBlocklist(View):
|
||||
""" manually add a server """
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue