mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
[share] internal link: fixup for 'folder' (#4643)
* make a member in a department can share a folder in a library of the department, with internal link
This commit is contained in:
@@ -1289,7 +1289,8 @@ export const Utils = {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (dirent && dirent.type === 'file') {
|
||||
// for 'file' & 'dir'
|
||||
if (dirent) {
|
||||
if (userDirPermission == 'rw' || userDirPermission == 'r') {
|
||||
// can generate internal link
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user