mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 16:32:31 +01:00
fix (acl): UI visibility issue for renaming
This commit is contained in:
parent
cd40cbe479
commit
8adfa58ffe
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export function calculatePermission(path, action) {
|
||||||
case "new-file": return toBool(perms$.value[path]["can_create_file"]);
|
case "new-file": return toBool(perms$.value[path]["can_create_file"]);
|
||||||
case "new-folder": return toBool(perms$.value[path]["can_create_directory"]);
|
case "new-folder": return toBool(perms$.value[path]["can_create_directory"]);
|
||||||
case "delete": return toBool(perms$.value[path]["can_delete"]);
|
case "delete": return toBool(perms$.value[path]["can_delete"]);
|
||||||
case "rename": return toBool(perms$.value[path]["can_rename"]);
|
case "rename": return toBool(perms$.value[path]["can_move"]);
|
||||||
case "upload": return toBool(perms$.value[path]["can_upload"]);
|
case "upload": return toBool(perms$.value[path]["can_upload"]);
|
||||||
default: return false;
|
default: return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue