mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 21:30:39 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dirent && dirent.type === 'file') {
|
// for 'file' & 'dir'
|
||||||
|
if (dirent) {
|
||||||
if (userDirPermission == 'rw' || userDirPermission == 'r') {
|
if (userDirPermission == 'rw' || userDirPermission == 'r') {
|
||||||
// can generate internal link
|
// can generate internal link
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user