Skip to content

Commit

Permalink
Add documentation about new sharing settings
Browse files Browse the repository at this point in the history
From the following PRs:
- nextcloud/server#31932
- nextcloud/server#31857
- nextcloud/server#31857

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Adriano Cataluddi <acataluddi@gmail.com>
  • Loading branch information
artonge authored and acataluddi committed Apr 28, 2024
1 parent 229bd0b commit b477e0c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions admin_manual/configuration_files/file_sharing_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,38 @@ forcing them.
.. _transfer_userfiles_label:

Advanced settings
-------------------------------------------------------------------

Here are some edge case settings which are not editable from the web interface, because they are only useful to small subset of administrators.

You can use the ``occ`` command to update those, for example:

.. code-block:: bash
occ config:app:set core shareapi_restrict_user_enumeration_full_match_email --value yes
- ``core.shareapi_restrict_user_enumeration_full_match_ignore_second_display_name``
+ When full match is activated, ignore the appended second display name.
+ Default: ``no``
+ Examples:

+---------------+--------------+------------------------------+------------+
| Setting value | Search query | User name | Will match |
+===============+==============+==============================+============+
| ``yes`` | User 1 | User 1 (Second display name) | yes |
+---------------+--------------+------------------------------+------------+
| ``no`` | User 1 | User 1 (Second display name) | no |
+---------------+--------------+------------------------------+------------+

- ``core.shareapi_restrict_user_enumeration_full_match_userid``
+ When full match is activated, do not match user ID
+ Default: ``yes``

- ``core.shareapi_restrict_user_enumeration_full_match_email``
+ When full match is activated, do not match user email
+ Default: ``yes``

Distinguish between max expiration date and default expiration date
-------------------------------------------------------------------

Expand Down

0 comments on commit b477e0c

Please sign in to comment.