text icon indicating copy to clipboard operation
text copied to clipboard

Profile picture is shown in public links

Open 42ske opened this issue 1 year ago • 0 comments

Describe the bug When you share a md-file with a public link and a user who has set it's profile picture to be shown to logged in users only the profile picture is shown publicly while the user edit's the text.

To Reproduce Steps to reproduce the behavior:

  1. Share an md-file within a collective with a public link.
  2. goto …/index.php/settings/user and set „show to logged in users only“ for Profile Picture
  3. Edit the shared md-file
  4. See profile picture appearing when using the public link

Expected behavior Profile picture is not shown in public.

Screenshots If applicable, add screenshots to help explain your problem.

Server details:

  • Nextcloud version: 27.1.6
  • PHP Version: 8.1.27
  • Database: mysql 10.5.22

Client details:

  • OS: macOS 14.3.1
  • Browser: Firefox 122.0.1 logged in as user & Safari 17.3.1 not logged in for opening public link
  • Device: MacBook Pro
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

42ske avatar Feb 09 '24 14:02 42ske