mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 08:29:17 +02:00
Use our instance policies to discard fetched and inbox objects
This commit is contained in:
parent
9151a185e0
commit
1c55f2c9a6
15 changed files with 317 additions and 31 deletions
|
@ -1,6 +1,14 @@
|
|||
from rest_framework import authentication, exceptions
|
||||
from rest_framework import exceptions
|
||||
|
||||
|
||||
class MalformedPayload(ValueError):
|
||||
pass
|
||||
|
||||
|
||||
class MissingSignature(KeyError):
|
||||
pass
|
||||
|
||||
|
||||
class BlockedActorOrDomain(exceptions.AuthenticationFailed):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue