You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Server: Ensure shares are writable (#12651)
This commit is contained in:
@@ -46,6 +46,8 @@ router.get('api/share_users', async (_path: SubPath, ctx: AppContext) => {
|
|||||||
id: su.id,
|
id: su.id,
|
||||||
status: su.status,
|
status: su.status,
|
||||||
master_key: su.master_key,
|
master_key: su.master_key,
|
||||||
|
can_read: 1, // In Joplin Server, all shares are always readable and writable
|
||||||
|
can_write: 1,
|
||||||
share: {
|
share: {
|
||||||
id: share.id,
|
id: share.id,
|
||||||
folder_id: share.folder_id,
|
folder_id: share.folder_id,
|
||||||
|
Reference in New Issue
Block a user