mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
[share dialog] share link: changed default permission (#4530)
This commit is contained in:
@@ -130,7 +130,7 @@ export const Utils = {
|
||||
let editDownloadOption = 'edit_download';
|
||||
let editOnly = 'cloud_edit';
|
||||
let downloadOption = 'preview_download';
|
||||
let permissionOptions = ['preview_only'];
|
||||
let permissionOptions = [];
|
||||
|
||||
if (itemType === 'library') {
|
||||
permissionOptions.push(downloadOption);
|
||||
@@ -152,6 +152,7 @@ export const Utils = {
|
||||
// }
|
||||
|
||||
}
|
||||
permissionOptions.push('preview_only');
|
||||
return permissionOptions;
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user