rex_article/category/media: added isPermitted() method, closes #339