Picture Visibility Restriction inconsistent

Create issue
Issue #31 resolved
Stephan Doerfel created an issue

The restriction of the display of the profile picture is too strong. The profile picture of a user with setting "public" for the visibility of their profile is not shown. See e.g. http://www.bibsonomy.org/cv/user/juergen.mueller

Please fix and include tests for a comprehensive check of the different privacy szenarios with the two picture versions.

Comments (5)

  1. Torbjørn Cunis

    This is no problem of the picture privacy handling, since an "unvisible" requested user is definitely replaced by an empty user within the PictureController (in any case). Instead, if the requested user uses Gravatar and no user is logged in, the query for the requested user's email address fails. I'll fix it soon.

  2. Torbjørn Cunis

    PictureController now gets AdminLogic instead of simple logic, in order to query user's email address for external even if there isn't any user logged in (fixed Issue #31).

    → <<cset f6c53f697345>>

  3. Log in to comment