Profile pictures missing on landing page content type for authenticated users without "verified user" role

Created on 9 March 2023, over 1 year ago
Updated 25 April 2023, about 1 year ago

Problem/Motivation

This is the FUP issue of https://www.drupal.org/project/social/issues/3325955

For authenticated user, which is not verified user, the user profile image is not loaded and appears broken instead of the default placeholder.

Steps to reproduce

Using the latest version of Open Social with the example module enabled
Define $settings['file_private_path'] in settings.php
As a site manager, create a landing page, add "featured content" section and select any profile entities
When I open the created page as authenticated user without verified user role, I expect to see added profiles but broken profile images.

Proposed resolution

Use permission system instead of role based logic which is not covering all the cases.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

11.7

Component

Code (back-end)

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024