mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
- refactored user_scope to author
- added author_id for future teams implementation
This commit is contained in:
@@ -162,7 +162,7 @@ class BrowseController extends Controller
|
||||
{
|
||||
return File::with(['parent'])
|
||||
->where('user_id', Auth::id())
|
||||
->whereUserScope('editor')
|
||||
->whereAuthor('visitor')
|
||||
->sortable()
|
||||
->get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user