Downloads
Download tar.gz
7.82 KB
MD5: 799721e050a86e3f2de40a643dcf611b
SHA-1: 057aff49dd5a37ab005e487fa6c9df291b5ce3df
SHA-256: 5bfb379573570041d01e087ef66d166e15eaf09e83fa7422623ddecdb0e93377
Download zip
8.76 KB
MD5: faac0f6627daad3b7b6fd7c04d29a768
SHA-1: 8915af76c7647f5e590920112aef4b8960fa8c9b
SHA-256: 44c3c22ead9347baa7c61b072b18477b6b92d8afeb1ab603dd450ff9763bc159
Release notes
Two new functions have been added to this version of the module:
- permissions_grant_all_permissions()
- permissions_grant_all_permissions_by_module()
The permissions_grant_all_permissions() function grants all defined permissions in the Drupal application to a given role. This is very useful for creating a new role that will function as an admin role.
The permissions_grant_all_permissions_by_module() function grants all permissions defined by a given module to a given role. This is very useful for cases when you install a new module in code, and want to grant all of the permissions defined by that module to a given role.