You can apply this model as a recipe (Drupal 10.3 or later) to your own Drupal site:
1 2 3 4 5 6 7 8 91011
## Import recipe
composerrequiredrupal-eca-recipe/eca_lib_0003
# Apply recipe with Drush (requires version 13 or later):
drushrecipe../recipes/eca_lib_0003
# Apply recipe without Drush:cdweb&&phpcore/scripts/drupalrecipe../recipes/eca_lib_0003
# Rebuilding caches is optional, sometimes required:
drushcr
If a user requests an unpublished article node, but doesn't have the permission to view unpublished nodes, then the request gets redirected to the contact form.