pkp/omp — comment on commit c2063a608c1ee90df2033a382bd18cfc234aee1b
File: controllers/informationCenter/InformationCenterHandler.inc.php line 60
By beghelli:

Alec, I don't think this is necessary. We can check this directly in template, see this commit: https://github.com/pkp/omp/commit/c73c35f33a9e511d260bea5cb37a6a871e149d91#diff-1
The $userRoles variable is being passed to the template manager by the setupTemplate() method. I've already done this in other 4 or 5 places. Maybe it's a good idea to write a simple smarty function to simplify the array intersect usage in templates?