forked from EsupPortail/Esup-Pod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that Following instance owns ExternalVideo before any action
- Loading branch information
Showing
6 changed files
with
546 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
pod/activitypub/tests/fixtures/video_delete_not_owner.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"@context": [ | ||
"https://www.w3.org/ns/activitystreams", | ||
"https://w3id.org/security/v1", | ||
{ | ||
"RsaSignature2017": "https://w3id.org/security#RsaSignature2017" | ||
} | ||
], | ||
"to": [ | ||
"https://www.w3.org/ns/activitystreams#Public", | ||
"http://peertube.test/video-channels/root_channel/followers", | ||
"http://peertube.test/accounts/peertube/followers", | ||
"http://peertube.test/accounts/root/followers" | ||
], | ||
"cc": [], | ||
"type": "Delete", | ||
"id": "http://peertube.test/videos/watch/717c9d87-c912-4943-a392-49fadf2f235d/delete", | ||
"actor": "http://other_peertube.test/accounts/root", | ||
"object": "http://peertube.test/videos/watch/717c9d87-c912-4943-a392-49fadf2f235d", | ||
"signature": { | ||
"type": "RsaSignature2017", | ||
"creator": "http://peertube.test/accounts/root", | ||
"created": "2024-05-15T13:03:58.608Z", | ||
"signatureValue": "sFcc/OwZVTjo1+iKZ9GSEcS/5KPfY5z1ul7q4nCi59B54fqM1P+WO6fupqD1SB1xYsLtPKDRpnoi3n0+vlPd6AsYN5dL2gHDZ79S0OygzyLFw18GlOSGdr6IFXNdQ7Gr0gTCDu7TXL42HzEes4OXz1LaV0Q+CagvsB96bkV5ZBM=" | ||
} | ||
} |
Oops, something went wrong.