permissions_api 5.x-1.1
ebeyrent - October 18, 2008 - 03:55
Official release from CVS tag: DRUPAL-5--1-1
First released: October 18, 2008 - 03:55
First released: October 18, 2008 - 03:55
Download: permissions_api-5.x-1.1.tar.gz
Size: 7.82 KB
md5_file hash: 799721e050a86e3f2de40a643dcf611b
Last updated: October 18, 2008 - 04:00
View usage statistics for this releaseSize: 7.82 KB
md5_file hash: 799721e050a86e3f2de40a643dcf611b
Last updated: October 18, 2008 - 04:00
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.
