From f86110c8ab455eb88392197a9043114a59c7c542 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Sat, 13 Feb 2021 22:44:18 +0200 Subject: send permissions on share --- loggedin.js | 1 + 1 file changed, 1 insertion(+) (limited to 'loggedin.js') diff --git a/loggedin.js b/loggedin.js index 31c72c9..451b926 100644 --- a/loggedin.js +++ b/loggedin.js @@ -581,6 +581,7 @@ function make_share_window(folder, filename) { form_data.append('folder', folder); form_data.append('filename', filename); form_data.append('users', users); + form_data.append('permissions', data.write_permissions ? 3 : 1); form_data.append('password', data.has_password ? data.password : ""); var xhr = new XMLHttpRequest(); -- cgit v1.2.3