Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud email addresses are visible by default - how to change setting?

Nextcloud email addresses are visible by default - how to change setting?

Scheduled Pinned Locked Moved Nextcloud
nextcloudemailprivacyconfiguration
5 Posts 3 Posters 259 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoudLemur
    wrote on last edited by
    #1

    By default, when somebody joins Nextcloud, everybody's email address is visible. I don't know whether this is in accordance with the GDPR, but is there an easy way to set the default to not visible?

    One user mentioned this trick, but it is hard to find that file/folder using the file browser.

    Edit this file more less in the line 308: “NCrootFolder”/lib/private/Accounts/AccountManager.php

    Where it says:
    self::PROPERTY_EMAIL =>
    [
    ‘value’ => $user->getEMailAddress(),
    ‘scope’ => self::VISIBILITY_CONTACTS_ONLY,
    ‘verified’ => self::NOT_VERIFIED,
    ],

    It should say:
    self::PROPERTY_EMAIL =>
    [
    ‘value’ => $user->getEMailAddress(),
    ‘scope’ => self::VISIBILITY_PRIVATE,
    ‘verified’ => self::NOT_VERIFIED,
    ],

    The problem is that the file might be overwrited in an update.

    I think this should be private by default, or at least, configurable.

    archosA jdaviescoatesJ 2 Replies Last reply
    1
    • L LoudLemur

      By default, when somebody joins Nextcloud, everybody's email address is visible. I don't know whether this is in accordance with the GDPR, but is there an easy way to set the default to not visible?

      One user mentioned this trick, but it is hard to find that file/folder using the file browser.

      Edit this file more less in the line 308: “NCrootFolder”/lib/private/Accounts/AccountManager.php

      Where it says:
      self::PROPERTY_EMAIL =>
      [
      ‘value’ => $user->getEMailAddress(),
      ‘scope’ => self::VISIBILITY_CONTACTS_ONLY,
      ‘verified’ => self::NOT_VERIFIED,
      ],

      It should say:
      self::PROPERTY_EMAIL =>
      [
      ‘value’ => $user->getEMailAddress(),
      ‘scope’ => self::VISIBILITY_PRIVATE,
      ‘verified’ => self::NOT_VERIFIED,
      ],

      The problem is that the file might be overwrited in an update.

      I think this should be private by default, or at least, configurable.

      archosA Offline
      archosA Offline
      archos
      wrote on last edited by archos
      #2

      @LoudLemur You don't need to modify any files. Just go to:

      Admin settings → Sharing → Sharing Privacy settings → Disable user email address auto-completion

      Once this is disabled, other users will no longer see email addresses when sharing.

      Snímek obrazovky pořízený 2025-03-21 11-52-31.png

      L 1 Reply Last reply
      2
      • archosA archos

        @LoudLemur You don't need to modify any files. Just go to:

        Admin settings → Sharing → Sharing Privacy settings → Disable user email address auto-completion

        Once this is disabled, other users will no longer see email addresses when sharing.

        Snímek obrazovky pořízený 2025-03-21 11-52-31.png

        L Offline
        L Offline
        LoudLemur
        wrote on last edited by
        #3

        @archos Thanks.

        What about for new people who join the nextcloud. When they see the other users, won't the other usernames as well as their emails be listed?

        I think seeing the usernames would be expected, but not their email addresses, too.

        1 Reply Last reply
        0
        • L LoudLemur

          By default, when somebody joins Nextcloud, everybody's email address is visible. I don't know whether this is in accordance with the GDPR, but is there an easy way to set the default to not visible?

          One user mentioned this trick, but it is hard to find that file/folder using the file browser.

          Edit this file more less in the line 308: “NCrootFolder”/lib/private/Accounts/AccountManager.php

          Where it says:
          self::PROPERTY_EMAIL =>
          [
          ‘value’ => $user->getEMailAddress(),
          ‘scope’ => self::VISIBILITY_CONTACTS_ONLY,
          ‘verified’ => self::NOT_VERIFIED,
          ],

          It should say:
          self::PROPERTY_EMAIL =>
          [
          ‘value’ => $user->getEMailAddress(),
          ‘scope’ => self::VISIBILITY_PRIVATE,
          ‘verified’ => self::NOT_VERIFIED,
          ],

          The problem is that the file might be overwrited in an update.

          I think this should be private by default, or at least, configurable.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #4

          @LoudLemur said in Nextcloud email addresses are visible by default - how to change setting?:

          everybody's email address is visible

          Visible where exactly? During sharing as alluded to by @archos' response. Or elsewhere too?

          I use Cloudron with Gandi & Hetzner

          L 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @LoudLemur said in Nextcloud email addresses are visible by default - how to change setting?:

            everybody's email address is visible

            Visible where exactly? During sharing as alluded to by @archos' response. Or elsewhere too?

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by
            #5

            @jdaviescoates Everywhere, basically. Would it be possible to setup Nextcloud so that people could inhabit and use it without ever seeing each other's emails?

            If you are on a nextcloud and you look at the Users list, even as a regular user, you will probably see everybody's email listed there.

            There might be some environments where you would not wish participants to have their emails disclosed to the rest of the nextcloud.

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search