You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
All: Add support for share permissions (#8491)
This commit is contained in:
@@ -210,7 +210,7 @@ describe('ShareService', () => {
|
||||
|
||||
const { share } = await testShareFolder(service);
|
||||
|
||||
await service.addShareRecipient(share.id, share.master_key_id, 'toto@example.com');
|
||||
await service.addShareRecipient(share.id, share.master_key_id, 'toto@example.com', { can_read: 1, can_write: 1 });
|
||||
|
||||
expect(uploadedEmail).toBe('toto@example.com');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user