Needs review
Project:
Workbench Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Feb 2013 at 20:23 UTC
Updated:
21 Feb 2013 at 16:09 UTC
Jump to comment: Most recent file
Currently, a user with the permission use workbench_media add form can access the path admin/workbench/media/add and can "upload" a file but the file will not actually be saved. In contrast, a user with the permission "create files" can add files at file/add but cannot visit admin/workbench/media/add.
I propose that accessing the paths defined in workbench_media_menu() require the same permissions as accessing the "sections" defined in hook_workbench_create_alter()
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | make-permissions-for-paths-and-sections-consistent-1922746-1.patch | 3.02 KB | devin carlson |
Comments
Comment #1
devin carlson commentedA patch to accommodate the latest changes to File entity and make the permissions required for both paths and sections consistent.
Users will need to have pass file_entity_access() and have permission to use the Workbench Media add form in order to access the paths or the sections.