Posted by BLausch on May 14, 2016 at 2:45pm
A short description of the problem:
Settings: File System --> Defalut download method --> Private local files served by Drupal
A user copies the url of a private PDF-File (not his file) into the browser or the user has bookmarkt the url of the private PDF-Dokument, and clicks the bookmark. Especially the user does not come from a "normal" drupal-node.
I would like to trigger this event.
Background: When opening the pdf document, I would like to check the roles and permission of the user in a separate module.
Is there a way to trigger this event ?
Greetings
Berthold