From da51ec38f4174532e83a4fde21f4c523e4f0bc7c Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 30 May 2017 11:59:49 +0200 Subject: only collect detailed access list if it is really needed Signed-off-by: Bjoern Schiessle --- lib/public/Encryption/IEncryptionModule.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/public/Encryption') 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(); + } -- cgit v1.2.3