Hello,
If we want a specific document attachment to be read accessible by any user with role X what would the best way to accomplish this? Right now, an attachment is only downloadable through EntryPoints/Download if the following is true:
For my application, I have a template that I want all users to be able to download say if they have a specific role. Right now, I have to add each account to the document which is cumbersome as my account/user base grows. Can someone offer another approach? I thought maybe one approach might be to extend or create a new EntryPoint/Download script and do my own acl check if the user has role...
If we want a specific document attachment to be read accessible by any user with role X what would the best way to accomplish this? Right now, an attachment is only downloadable through EntryPoints/Download if the following is true:
PHP Code:
$this->acl->checkEntity($attachment)
Comment