mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
clear SharedWithMe.vue view
This commit is contained in:
@@ -24,7 +24,7 @@ class GetThumbnailController extends Controller
|
||||
->where('thumbnail', $filename)
|
||||
->firstOrFail();
|
||||
|
||||
if (! Gate::any(['can-edit', 'can-visit'], [$file, null])) {
|
||||
if (! Gate::any(['can-edit', 'can-view'], [$file, null])) {
|
||||
abort(403, 'Access Denied');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user