freunde.ma-nic.de

Schmaker friendica (via ActivityPub)

Permission problem with Mastodon

Hi !Friendica Developers

my mate just told me that he can't access pictures i posted within a post as they are being shown as "inaccesssible".

Bild/Foto

I checked permission to pictures and post and both is set correctly to same group, so i am confused and it seems like i encoutered a bug.

(may be unrelated) When he tries to reach the pictures, he gets redirected to my friendica instance and can't access anything (obviously, he is not authenticated)

215933


Any ideas, or should i go directly to bug reporting?

1
Schmaker friendica (via ActivityPub)
I also don't know why there is same image twice in my post as there is no img tag after "Any ideas, or should i go directly to bug reporting?"
1
utzer [Friendica] friendica (via ActivityPub)
@Schmaker can you reproduce it?
Schmaker friendica (via ActivityPub)
@utzer ~Friendica~ i can, even newer post suffer from same issue.

I am not sure why photos cannot be accessed, but posts are being processed just fine, even though they are in same access group (Friends).

If there are any logs or something i could give you, feel free to tell me

What i tried:
Uploading photo through "photos" and then add to post
Uploading photo through post dialog
Removing + adding friend back to group
1
utzer [Friendica] friendica (via ActivityPub)
@Schmaker we have one developer who is surely able to explain this and tell if this is a bug. I would suggest to open an issue and link to this thread also. @Roland Häder
1
Marco R. friendica
I don't think Mastodon understands the Friendica permissions. There is no ACL in Mastodon and images with restricted access probably can't be accessed.
1
Schmaker friendica (via ActivityPub)
That would totally mess up my use case :/

Can somebody confirm?
1
utzer [Friendica] friendica (via ActivityPub)
@Marco R. @Schmaker I wonder what the problem is, the post is distributed to the personal inbox for the user and the pictures should be attached.
1
Marco R. friendica
I think the image is not attached but linked. In the past some dfrn permission thing happened in the background so you could see restricted images from within Friendica. I don't know if this is still the case.
I agree, that files (incl. images) should be attached, but then you would lose control over access. No easy answer...
1
Schmaker friendica (via ActivityPub)
I just made the bug report here https://github.com/friendica/friendica/issues/11542

I wonder, if image data couldnt be attached within the post itself instead linking them? As long as text stream is secure, text stream with image data should be too, if i understand the issue correctly.
1