thedevdojo/voyager

Give Restricted Access of Media

joginder89 opened this issue · 0 comments

Laravel version

Laravel 9/10

PHP version

8.0

Voyager version

1.6

Description of problem

I have Users having role editor, now I want to give access to media, so that he can upload the images in bulk and then use later, but I want to give access to a specific folder, so that he cannot see or delete other images. Currently I found if I give access to media page then user will be able to see all images and he can delete the images.

Proposed solution

Admin should have permission to decide the directory/folder path, where user can upload images using media page. Like Admin can create folder like public/storage/user1 and public/storage/user2 and user1 have access only to user1 folder where he can see and upload media files.

Alternatives considered

No response

Additional context

No response