Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-09 23:48:48 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-11 10:40:03 +0300
commitc7560ab3a934ccf0c6271dd223e2907bd7d57949 (patch)
tree98d55461c19ec167cb5a5a70330043f8d95a838e /lib/public
parent52d43bf3cc5d9743bb2949ad2fdd6b419b21f7b3 (diff)
Restrict autocompletion also based on the phonebook known users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 635ccc1483d..0c8732b4b15 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -385,6 +385,14 @@ interface IManager {
public function limitEnumerationToGroups(): bool;
/**
+ * Check if user enumeration is limited to the phonebook matches
+ *
+ * @return bool
+ * @since 21.0.1
+ */
+ public function limitEnumerationToPhone(): bool;
+
+ /**
* Check if sharing is disabled for the given user
*
* @param string $userId