(bug): Retrospectively paywalled posts do not apply the paywall to attachements
Summary
The problem is they can access paywalled images, videos and blogs by simply clicking on the thumbnail in the gallery widget or by viewing the gallery and then clicking the thumbnail.
NOTE: Canary mode is turned on.
See for example on https://www.minds.com/bhayward Image https://www.minds.com/media/977926766784184320
Steps to reproduce
- Go to the channel for your primary account.
- Click "Attach" and upload an image.
- Click "Post".
- Edit the post.
- Put it behind a 1 token paywall.
- Log out and log in to your secondary account.
- Visit channel for your primary account.
- Scroll down to the image gallery widget.
- Click "View More".
- Click on the thumbnail for the image.
Platform information
- Windows 10 / Chrome (Version 73.0.3683.86)
- replicated Manjaro / Chromium
What is the current bug behavior?
When you post an image, video or blog and then put it behind a paywall, it is still visible in your image/video/blog gallery for other users.
What is the expected correct behavior?
If you put an image/video/blog behind a paywall after you already posted it to your channel, it shouldn't be visible and accessible to users who do not meet the paywall threshold for that content. Either that or it should appear for other users but behind the paywall mask and I think both you and other users should be able to filter the image/video/blog gallery by paywalled content. Perhaps just add a button called "Exclusive Content" at the top of each gallery.
Relevant logs and/or screenshots
Video
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)