Current file entity access control is limited.
Provide a fuller API for controlling access to file entities. Introduce several new permissions and streamline the naming of existing file-related permissions.
- Rename update function to be the latest in the 7200 series.
- Rename system_file_entity_access to file_entity_file_entity_access.
User interface changes
Provides several new permissions.
Introduces an API that modules may use to affect file entity access.
Original report by Dave Reid
Another thing that media seems to be doing is adding their own simple file access API (see media_view_page). We can provide a base file access API that provides a hook_file_access() which also provides a fallback for private files for checking hook_file_download().