I'm setting up filedepot in Drupal 7 and having issues with permissions.
Scenario:
- Administrator is permitted to create folders and upload files.
- Authorized user is only permitted to view / download files.
Drupal permissions; People > Pemissions
- Access filedepot, TRUE for authenticated user and administrator
- Administer filedepot, TRUE for administrator only
Filedepot default permissions; Configuration > Media > Filedepot settings
Default Owner Permissions:
- view, admin, upload_dir, upload_ver, approval
Default Role Permissions:
- authenticated user: view
- administrator: view, admin, upload_dir, upload_ver, approval
If I test as authorized user I can navigate to filedepot and see folder and file structure. I also see the 'New File' link and still can upload files, which eventually show up in the 'Waiting for approval' queue.
How can I exclude the 'New File' link for users who just have permission to only view filedepot folder and files, but don't have permission to upload files?
Thanks in advance for helping.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | filedepot_folderadmin.jpg | 204.63 KB | blainelang |
Comments
Comment #1
blainelang commentedHave you looked at the Folder Permissions from inside filedepot, where you can setup the 6 available permissions (available for each folder) ?
Refer to the attached image: click on one of the folders to gain access to the Folder Admin where you can then set the folder permissions or change it's properties like name and parent. Anyone with the filedepot "folder admin" permission will be able to manage the folder - so you can delegate permissions to non site admin.
Comment #2
rkeller commentedI was not aware of the individual folder options inside filedepot. This fixed permission and the 'New File' link issue. Thank you for the swift response.
Comment #3
blainelang commentedYour welcome!
Comment #5
spv commentedi followed this but my non admin users can still edit folders, upload, etc... any ideas