-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Get access list share by email recipients #32631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
26ae5e6
9c528d4
34ca6bd
01e3234
f45eb75
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Previously was returning only boolean true if the Node was shared by email, or false if not. Now provides an array containing the list of email share recipients. Signed-off-by: Adam Serbinski <[email protected]>
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -256,9 +256,10 @@ public function userDeletedFromGroup($uid, $gid); | |
| * |-folder2 (32) | ||
| * |-fileA (42) | ||
| * | ||
| * fileA is shared with user1 and user1@server1 | ||
| * fileA is shared with user1 and user1@server1 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 | ||
| * | ||
| * Then the access list to '/folder1/folder2/fileA' with $currentAccess is: | ||
| * [ | ||
|
|
@@ -272,15 +273,17 @@ public function userDeletedFromGroup($uid, $gid); | |
| * 'user2@server2' => ['node_id' => 23, 'token' => 'FooBaR'], | ||
| * ], | ||
| * public => bool | ||
| * mail => bool | ||
| * mail => [ | ||
| * 'email1@maildomain1' => ['node_id' => 42], | ||
| * 'email2@maildomain2' => ['node_id' => 23], | ||
| * ] | ||
| * | ||
| * The access list to '/folder1/folder2/fileA' **without** $currentAccess is: | ||
| * [ | ||
| * users => ['user1', 'user2', 'user4'], | ||
| * remote => bool, | ||
| * public => bool | ||
| * mail => bool | ||
| * mail => ['email1@maildomain1', 'email2@maildomain2'] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is an api break :( not sure if we can change this, but if it never worked it's probably fine
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it certainly is an API break. I went through the history and it never actually used the correct array key. |
||
| * ] | ||
| * | ||
| * This is required for encryption/activity | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.