added it_rename_shared_file test

This commit is contained in:
Peter Papp
2021-03-10 11:02:05 +01:00
parent 8a4ffd03c6
commit 1126a45524
5 changed files with 76 additions and 16 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class Guardian
public static function check_item_access($requested_id, $shared)
{
// Get all children folders
$foldersIds = Folder::with('folders:id,parent_id,unique_id,name')
$foldersIds = Folder::with('folders:id,parent_id,id,name')
->where('user_id', $shared->user_id)
->where('parent_id', $shared->item_id)
->get();