zikula-modules/News — pull request #118 by nmpetkov (2013-04-08 18:44:35+00:00)
Title: Permissions to create and display PDF file

Added permissions check in front of displaypdf user controller function.

One possible usage - if set ACCESS_COMMENT required permissions, then only registered users can download pdf files.
Also prevent search engines to index pdf files. They like to index pdf files, but possibly we don't, because they have same content, and because creating them consumes really very much processor time, and downloading them - bandwidth.