Download Size md5 hash
permissions_api-5.x-1.1.tar.gz 7.82 KB 799721e050a86e3f2de40a643dcf611b
permissions_api-5.x-1.1.zip 8.76 KB faac0f6627daad3b7b6fd7c04d29a768
Official release from tag: 5.x-1.1
Last updated: December 24, 2010 - 23:36

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.

nobody click here