Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AV-2055: Delete article content type #2078

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions drupal/scripts/init_drupal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down
6 changes: 0 additions & 6 deletions drupal/site_config/user.role.publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down
Loading