Created
January 25, 2017 08:30
-
-
Save martsie/8ee45abb1a0eb5855326a5891c141171 to your computer and use it in GitHub Desktop.
Batch assign Drupal module permissions to admin role from permissions page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste this into your console. | |
// Change 'rid' variable value to be the role id you are modifying. | |
var rid = 3; jQuery('input.rid-' + rid).prop('checked', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment