summaryrefslogtreecommitdiffstats
path: root/lib/public/Encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-05-30 11:59:49 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-07-06 11:33:08 +0200
commitda51ec38f4174532e83a4fde21f4c523e4f0bc7c (patch)
tree3939c7805a222e0e180a8999b47632a5e76674fb /lib/public/Encryption
parent9c5ba2f12cf8f3a7b3587fd8ef304aed86e703e1 (diff)
downloadnextcloud-server-da51ec38f4174532e83a4fde21f4c523e4f0bc7c.tar.gz
nextcloud-server-da51ec38f4174532e83a4fde21f4c523e4f0bc7c.zip
only collect detailed access list if it is really needed
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public/Encryption')
-rw-r--r--lib/public/Encryption/IEncryptionModule.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Encryption/IEncryptionModule.php b/lib/public/Encryption/IEncryptionModule.php
index 6be9763c9c8..d96c6c8ba06 100644
--- a/lib/public/Encryption/IEncryptionModule.php
+++ b/lib/public/Encryption/IEncryptionModule.php
@@ -182,4 +182,14 @@ interface IEncryptionModule {
*/
public function isReadyForUser($user);
+ /**
+ * Does the encryption module needs a detailed list of users with access to the file?
+ * For example if the encryption module uses per-user encryption keys and needs to know
+ * the users with access to the file to encrypt/decrypt it.
+ *
+ * @since 13.0.0
+ * @return bool
+ */
+ public function needDetailedAccessList();
+
}