Skip to main content


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".

Obrázek/fotka

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)

338022


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

Friendica Developers reshared this.

in reply to Schmaker

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?"

Friendica Developers reshared this.

in reply to utzer [Friendica]

@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

Friendica Developers reshared this.

in reply to Schmaker

@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

Friendica Developers reshared this.

in reply to Schmaker

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.

Friendica Developers reshared this.

in reply to Marco R.

That would totally mess up my use case :/

Can somebody confirm?

Friendica Developers reshared this.

in reply to Marco R.

@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.

Friendica Developers reshared this.

in reply to utzer [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...

Friendica Developers reshared this.

in reply to Marco R.

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.

Friendica Developers reshared this.