diff --git a/public/modules/custom/helfi_node_news_article/helfi_node_news_article.install b/public/modules/custom/helfi_node_news_article/helfi_node_news_article.install index 03f49c634..7087419b5 100644 --- a/public/modules/custom/helfi_node_news_article/helfi_node_news_article.install +++ b/public/modules/custom/helfi_node_news_article/helfi_node_news_article.install @@ -16,26 +16,14 @@ function helfi_node_news_article_grant_permissions() : void { $permissions = [ 'admin' => [ 'create news_article content', - //'create terms in news_group', - //'create terms in news_neighbourhoods', - //'create terms in news_tags', 'delete any news_article content', 'delete news_article revisions', 'delete own news_article content', - //'delete terms in news_group', - //'delete terms in news_neighbourhoods', - //'delete terms in news_tags', 'edit any news_article content', 'edit own news_article content', - //'edit terms in news_group', - //'edit terms in news_neighbourhoods', - //'edit terms in news_tags', 'revert news_article revisions', 'set news_article published on date', - //'translate news_group taxonomy_term', 'translate news_article node', - //'translate news_neighbourhoods taxonomy_term', - //'translate news_tags taxonomy_term', 'view news_article revisions', ], 'content_producer' => [ @@ -56,10 +44,7 @@ function helfi_node_news_article_grant_permissions() : void { 'edit own news_article content', 'revert news_article revisions', 'set news_article published on date', - //'translate news_group taxonomy_term', 'translate news_article node', - //'translate news_neighbourhoods taxonomy_term', - //'translate news_tags taxonomy_term', 'view news_article revisions', ], 'read_only' => [