Skip to content

Commit

Permalink
UHF-9738: Remove permissions copied from helfi_node_news_item
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Apr 8, 2024
1 parent 55f78dc commit 45e6d5f
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand All @@ -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' => [
Expand Down

0 comments on commit 45e6d5f

Please sign in to comment.