diff --git a/drupal/scripts/init_drupal.sh b/drupal/scripts/init_drupal.sh index c704e94f3d..808f79b77e 100644 --- a/drupal/scripts/init_drupal.sh +++ b/drupal/scripts/init_drupal.sh @@ -90,6 +90,17 @@ drush config:delete field.storage.node.field_basic_page_comments drush config:delete user.role.editor || true drush config:delete system.action.user_add_role_action.editor || true drush config:delete system.action.user_remove_role_action.editor || true +drush config:delete node.type.article || true +drush config:delete core.entity_form_display.node.article.default || true +drush config:delete core.entity_view_display.node.article.default || true +drush config:delete core.entity_view_display.node.article.rss || true +drush config:delete core.entity_view_display.node.article.search_index || true +drush config:delete core.entity_view_display.node.article.search_result || true +drush config:delete core.entity_view_display.node.article.teaser || true +drush config:delete field.field.node.article.body || true +drush config:delete field.field.node.article.comment || true +drush config:delete field.field.node.article.field_image || true +drush config:delete field.field.node.article.field_tags || true diff --git a/drupal/site_config/user.role.publisher.yml b/drupal/site_config/user.role.publisher.yml index a83e122cb1..2ec66c8508 100644 --- a/drupal/site_config/user.role.publisher.yml +++ b/drupal/site_config/user.role.publisher.yml @@ -34,27 +34,23 @@ permissions: - 'create terms in tags' - 'create url aliases' - 'customize shortcut links' - - 'delete any article content' - 'delete any avoindata_article content' - 'delete any avoindata_event content' - 'delete any avoindata_guide_page content' - 'delete any avoindata_servicemessage content' - 'delete any page content' - 'delete content translations' - - 'delete own article content' - 'delete own avoindata_article content' - 'delete own avoindata_event content' - 'delete own avoindata_guide_page content' - 'delete own avoindata_servicemessage content' - 'delete own page content' - 'delete terms in tags' - - 'edit any article content' - 'edit any avoindata_article content' - 'edit any avoindata_event content' - 'edit any avoindata_guide_page content' - 'edit any avoindata_servicemessage content' - 'edit any page content' - - 'edit own article content' - 'edit own avoindata_article content' - 'edit own avoindata_event content' - 'edit own avoindata_guide_page content' @@ -71,8 +67,6 @@ permissions: - 'use text format full_html' - 'use text format ckeditor5' - 'use text format restricted_html' - - 'view article revisions' - - 'view article unpublished content' - 'view avoindata_article revisions' - 'view avoindata_article unpublished content' - 'view avoindata_event revisions'