Skip to content

Commit

Permalink
Merge pull request #10380 from nextcloud/feat/adminmanual/system-addr…
Browse files Browse the repository at this point in the history
…ess-book

feat(adminmanual): system address book
  • Loading branch information
ChristophWurst authored May 12, 2023
2 parents 5fe0398 + 4de1a10 commit 47bb577
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _file-sharing-configuration:

============
File Sharing
============
Expand Down
10 changes: 8 additions & 2 deletions admin_manual/configuration_server/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,14 @@ bernie::

sudo -u www-data php occ dav:sync-birthday-calendar bernie

``dav:sync-system-addressbook`` synchronizes all users to the system
addressbook::

.. _occ-dav-sync-system-address-book:

Sync system address book
^^^^^^^^^^^^^^^^^^^^^^^^

``dav:sync-system-addressbook`` synchronizes all users to the :ref:`system
address book<system-address-book>`::

sudo -u www-data php occ dav:sync-system-addressbook

Expand Down
6 changes: 6 additions & 0 deletions admin_manual/configuration_user/profile_configuration.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _profile:

=====================
Profile configuration
=====================
Expand All @@ -9,6 +11,8 @@ Personal info settings under the Personal settings section.
As an administrator you may change the default for new users and may also
disable profile globally to remove all profile functionality.

Profile properties are also written into the :ref:`system address book<system-address-book>`.

To enable or disable profile by default for new users switch the toggle in
Basic settings under the Administration settings section.

Expand All @@ -35,6 +39,8 @@ To disable profile globally add the following line to your ``config.php``
Please refer to :doc:`../configuration_server/config_sample_php_parameters` for
all available ``config.php`` options.

.. _profile-property-scopes:

Property scopes
---------------

Expand Down
38 changes: 38 additions & 0 deletions admin_manual/groupware/contacts.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
==================
Contacts / CardDAV
==================

Nextcloud ships a CardDAV backend for users to store and share their address books and contacts.

.. _system-address-book:

System Address Book
-------------------

.. versionchanged:: 27
The system address book is now accessible to all Nextcloud users

Nextcloud maintains a read-only address book containing contact information of all users of the instance.

Disabled users are removed from this address book.

Privacy and User Property Scopes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Contact information in the system address book is taken from users' :ref:`profile information<profile>`. Profile properties are only written to the system contact if the :ref:`scope<profile-property-scopes>` is set to *Local* or higher.

Users who set all their property scopes to *Private* are removed from the system address book and therefore not seen by other users.

:ref:`File sharing settings<file-sharing-configuration>` controls the enumeration of other users.

* If username autocompletion is not allowed, the system address book will only show user's own system contact but no other contacts.
* If username autocompletion is allowed, users will see contact cards for all other users.

* If autocompletion is limited to users within the same groups, users will see contact cards for other users in shared groups.
* If autocompletion is limited to matching phone numbers, the system address book will only show user's own system contact but no other contacts.
* If autocompletion is limited to users within the same groups **and** matching phone numbers, users will see contact cards for other users in shared groups.

Address Book Sync
^^^^^^^^^^^^^^^^^

The address book is updated automatically with every added, modified, disabled or removed user. Admins can also trigger a full rewrite of the address book :ref:`with occ<occ-dav-sync-system-address-book>`.
1 change: 1 addition & 0 deletions admin_manual/groupware/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Groupware
:maxdepth: 2

calendar
contacts
mail

0 comments on commit 47bb577

Please sign in to comment.