Bob sends Alice a Block, Alice cannot view Bob's profile
given: "Alice" created an actor on "abel" called "Alice"
send.Alice.request.create_actor
{
"base_url": "http://abel",
"preferred_username": "Alice",
"profile": {},
"automatically_accept_followers": null,
"name": null
}
receive.Alice.response.create_actor
{
"attachment": null,
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"publicKey": {
"id": "http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw#legacy-key-1",
"owner": "http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoU9JFJBGSvXSYiQa36Uc\nidf+ijlF+45Vq9ekfOMlUZ3SzeR4BwA09ZONI0bbSsDyvbdlj+VfA74hQuzCzhUy\n1pxT0Hs6i48QFMHtDPsYXibmwYF8dqYE7xIYAQN/o/qaJfgok+zQRAL5bUdHOpVf\nCYZqIYcoNgPVZWRHXLipCpdj4VsUUB3hl1wm99FfRfPj0eRB6dDEApbjBaIEdqTF\nYkXJTSYIKEKm62SUcAG1FOFoyL6du09Udnu4CxAt+RNxxuk50RZKhXkoWHkhgHCh\nmkXatH4OkbOchWlq8qmMr2jjpwQvtbTXFNz3pLNGbj/XPhxcOqHet9l5Os8hpLus\nlwIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw",
"type": "Person",
"inbox": "http://abel/inbox/rpr2BInF4wMYLhghNAa8Eg",
"outbox": "http://abel/outbox/yK5b7M5PbesSoMqUTCiGSw",
"followers": "http://abel/followers/QkgdSoMOCt7ecdGLfyq6HA",
"following": "http://abel/following/vQFzjYPEYm_Q_zc_ph553w",
"preferredUsername": "Alice",
"name": "Alice",
"identifiers": [
"acct:Alice@abel",
"http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw"
],
"endpoints": {
"sharedInbox": "http://abel/shared_inbox"
}
}
given: "Bob" created an actor on "banach" called "Bob"
send.Bob.request.create_actor
{
"base_url": "http://banach",
"preferred_username": "Bob",
"profile": {},
"automatically_accept_followers": null,
"name": null
}
receive.Bob.response.create_actor
{
"attachment": null,
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1"
],
"publicKey": {
"id": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew#legacy-key-1",
"owner": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5vFto4Vic1cypau/l42v\nwtYPiDbaec724M5Hv7B+5WrNyaoAtWgOF53k1FmiE/RZAusu9+yIeAPdWctaQSEj\nVBJuqaTzVOFdqd/6HBRzcNlVatHep2XYQUkjQ5jObpsH4h5yV2b2W8XEijwXA3Gl\nSyNwAfhP6LCAfoOaFgxInXHflfkBS/gNteU5EqadonXCk3rqB5zzpDKq5zgxN+1M\ncEGAUbQjToxK2ugOcqlwVcxqTdxuHMsq18ouJAZmhw4mwTpJOfs5TmKAUG3wLByT\nm+BHnh3hOSCc4OOd6Coj07yZebfZLPo9B0Sp123UOP128wrSCzYh93OTDek7rrQN\newIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew",
"type": "Person",
"inbox": "http://banach/inbox/BdE-5pUABD_jA24Q0fHc-Q",
"outbox": "http://banach/outbox/EbP_h474QmuvPEt2REQW7g",
"followers": "http://banach/followers/DUGdk6K2LB1HdG6-pIGv-g",
"following": "http://banach/following/-Sw1chgxA-o-uDUzchzA1g",
"preferredUsername": "Bob",
"name": "Bob",
"identifiers": [
"acct:Bob@banach",
"http://banach/actor/y3VuWIU1W8emspoZnLY7Ew"
],
"endpoints": {
"sharedInbox": "http://banach/shared_inbox"
}
}
when: "Bob" blocks "Alice"
send.Bob.trigger.send_message
{
"actor": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew",
"data": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Block",
"actor": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew",
"to": [
"http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw"
],
"id": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew/393e2162be5b73e8",
"published": "2025-02-23T08:45:57Z",
"object": "http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw"
}
}
receive.Bob.outgoing
{
"actor": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew",
"event_type": "outgoing",
"data": {
"raw": {
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Block",
"actor": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew",
"to": [
"http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw"
],
"id": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew/393e2162be5b73e8",
"published": "2025-02-23T08:45:57Z",
"object": "http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw"
},
"recipients": {
"recipients": [
"http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw"
],
"public": false
}
}
}
when: "Alice" retrieves the object with the actor id of "Bob"
send.Alice.request.fetch
{
"actor": "http://abel/actor/RfvYQk6Y2U6blVuL0xtJyw",
"uri": "http://banach/actor/y3VuWIU1W8emspoZnLY7Ew"
}