Published: January 18, 2024
Drupal Content Access by Path module
Ever needed to give a Drupal content editor access to edit site sections instead of the whole site? Introducing the Content Access by Path module.
Here's a module I created, funded by Essex County Council and based on a spec developed by Will Callaghan, that allows you to create taxonomy terms, then set paths (via a text field) on those taxonomy terms, and then attach those taxonomy terms to users.
Now, when a user has a taxonomy term attached to them, they can only edit content that is within the range of that path.
I'm surprised this module didn't already exist.
It's available on Drupal.org at the Content Access by Path namespace.
Here it is in action: