[PdfBook] Implement userCan hook.
Created by: willstott101
Skips exporting articles which the user is not permitted to read.
This may not be a complete solution, caching and broken links to this page within the PDF come to mind. But this hook is a starting point to allow integration with most access control extensions.
Such as https://www.mediawiki.org/wiki/Extension:AccessControl