1
0
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:
Laurent Cozic
2025-07-02 18:14:52 +03:00
committed by GitHub
parent 6e7c9c059d
commit f9af9a724c

View File

@@ -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,