diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-13 15:07:27 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-04-19 12:51:57 +0200 |
commit | 70c56b411ee3eb20ebc206aa5cbf04254343f03f (patch) | |
tree | 25875fd62ab414a1a81c45cabb66ef479b76b725 /lib/public/Share | |
parent | 13dbad0080f31a5ae816779685070e8f94235d5a (diff) | |
download | nextcloud-server-70c56b411ee3eb20ebc206aa5cbf04254343f03f.tar.gz nextcloud-server-70c56b411ee3eb20ebc206aa5cbf04254343f03f.zip |
Use share setting in DAV search
shareapi_restrict_user_enumeration_full_match_ignore_second_display_name was introduced to ignore second display name during search from the share panel. But this setting was not respected by search from the calendar application. This fix it.
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib/public/Share')
-rw-r--r-- | lib/public/Share/IManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php index f6b74c4de4a..2963d8fd24b 100644 --- a/lib/public/Share/IManager.php +++ b/lib/public/Share/IManager.php @@ -455,6 +455,14 @@ interface IManager { public function allowEnumerationFullMatch(): bool; /** + * Check if the search should ignore the second in parentheses display name if there is any + * + * @return bool + * @since 24.0.0 + */ + public function ignoreSecondDisplayName(): bool; + + /** * Check if the current user can enumerate the target user * * @param IUser|null $currentUser |