New user image limits ignored for oneboxed URLs

AI-generated summary

The discussion addresses a feature concern where new users (TL0) can bypass image posting limits by embedding URLs (oneboxing), such as from gfycat, even if they lack permission to post images directly. Drew_Warwick argues this undermines moderation goals, especially for preventing explicit content from appearing on-site. codinghorror clarifies this isn’t a bug but raises whether onebox embeds should be restricted for new users. Drew_Warwick supports such a restriction, noting that linked content is less harmful than embedded images. codinghorror suggests blacklisting domains, but Drew_Warwick counters that inappropriate content may appear on otherwise permitted sites like Imgur. codinghorror asks sam whether restricting all oneboxes for TL0 users is feasible and worthwhile. zogstrip notes it’s technically possible and suggests making it a configurable site setting, though expresses concern about requiring post rebaking to trigger oneboxing. The core issue remains: should new users be allowed to embed images via oneboxing, and if not, how best to enforce it without disrupting workflow?

The two image limit settings on Discourse:

  • newuser max images
  • min trust to post images

are not respected by URLs being automatically converted to embeds. If I post the URL to an image like so:

https://gfycat.com/SociableCleanAfricanfisheagle

I can bypass the above two settings, so long as I have permission to post URLs. Expected behavior is that links aren’t automatically embedded if my TL is below min trust to post images, and after n=newuser max images, links stop being automatically embedded as images (display blue warning so users don’t think something is broken)

2 Likes

This is not a bug; you’re referring to two different things.

Should we have a limit on onebox embeds for new users?

Yes, with our use case being we don’t want users to be able to embed/onebox explicit images in their posts. It’s less bad if they link it, as then users have to go off-site to see the inappropriate content, and it’s not displayed on an official domain owned by us.

Why not blacklist the problem remote domain(s) in relevant oneboxing site settings?

It’s unlikely that it will be a specific domain. Probable case is that user uploads something inappropriate to Imgur or some other hosting site that we want to allow for TL1+ users, and then links that in their post.

2 Likes

Hmm, what do you think @sam is it worth restricting all oneboxes for TL0 users? Is that even possible?

1 Like

Not sure about restricting all oneboxes, but having them behind a site setting could be useful.

I don’t think we’ve ever experienced this on meta, but I don’t want to have to rebake TL0 posts with a link just to trigger the oneboxing…

Yes.

1 Like