F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.jsform_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();