aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorAdam Serbinski <adam@serbinski.com>2022-05-27 11:29:15 -0400
committerAdam Serbinski <37986043+ASerbinski@users.noreply.github.com>2024-03-21 18:25:31 -0400
commit9c528d412c677b686d0776a43ec9567d6639a083 (patch)
treebfe7a6fe53aff33a1f4004b49d30bd2fb594191a /lib/public
parent26ae5e6dfbdd482e6fbfe1cd6a1161ff39f984cc (diff)
downloadnextcloud-server-9c528d412c677b686d0776a43ec9567d6639a083.tar.gz
nextcloud-server-9c528d412c677b686d0776a43ec9567d6639a083.zip
ShareByMailProvider: getAccessList: add token to returned array
This allows the share URI to be regenerated. Signed-off-by: Adam Serbinski <adam@serbinski.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IManager.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 18c429e1cec..1c75b306fe2 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -256,7 +256,7 @@ interface IManager {
* |-folder2 (32)
* |-fileA (42)
*
- * fileA is shared with user1 and user1@server1 email1@maildomain1
+ * fileA is shared with user1 and user1@server1 and email1@maildomain1
* folder2 is shared with group2 (user4 is a member of group2)
* folder1 is shared with user2 (renamed to "folder (1)") and user2@server2
* and email2@maildomain2
@@ -274,9 +274,9 @@ interface IManager {
* ],
* public => bool
* mail => [
- * 'email1@maildomain1' => ['node_id' => 42],
- * 'email2@maildomain2' => ['node_id' => 23],
- * ]
+ * 'email1@maildomain1' => ['node_id' => 42, 'token' => 'aBcDeFg'],
+ * 'email2@maildomain2' => ['node_id' => 23, 'token' => 'hIjKlMn'],
+ * ]
*
* The access list to '/folder1/folder2/fileA' **without** $currentAccess is:
* [