diff --git a/apps/files_encryption/lib/keymanager.php b/apps/files_encryption/lib/keymanager.php
index 9dc95ea67640c5384519a60e86cc40ee8fc44ca7..bafe8f1a5f08b03d1219c910a8307bef6777ed55 100644
--- a/apps/files_encryption/lib/keymanager.php
+++ b/apps/files_encryption/lib/keymanager.php
@@ -143,6 +143,7 @@ class Keymanager {
 			$targetpath_parts=explode('/',$targetpath);
 			$user = $targetpath_parts[1];
 			$targetpath = str_replace('/'.$user.'/files/', '', $targetpath);
+			//TODO: check for write permission on shared file once the new sharing API is in place
 		}
 		
 		$view = new \OC_FilesystemView( '/' . $user . '/files_encryption/keyfiles' );