From 77f6d768bc7f6c592ce79ee64155501f010e78eb Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 10 Mar 2021 17:18:44 +0100 Subject: Add a setting to restrict returning a full match unless in phonebook or same group Signed-off-by: Joas Schilling --- lib/public/Share/IManager.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/public') diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php index 0c8732b4b15..606e6429918 100644 --- a/lib/public/Share/IManager.php +++ b/lib/public/Share/IManager.php @@ -392,6 +392,14 @@ interface IManager { */ public function limitEnumerationToPhone(): bool; + /** + * Check if user enumeration is allowed to return on full match + * + * @return bool + * @since 21.0.1 + */ + public function allowEnumerationFullMatch(): bool; + /** * Check if sharing is disabled for the given user * -- cgit v1.2.3