Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got tired of forgetting to set 'access devel information' in my dev sites, and therefore decided to update my configuration to automatically turn on this permission every time I sql-sync to a dev site. The attached patch shows how to do this in an updated version of the post-sql-sync hook example in the examples folder. This could be further refined once #1649598: Bring drush_role into Drush core lands.
Comment | File | Size | Author |
---|---|---|---|
alter-perms-after-sync.patch | 4.38 KB | greg.1.anderson |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedComment #2
greg.1.anderson CreditAttribution: greg.1.anderson commentedCommitted.