Permissions API

ebeyrent - October 14, 2008 - 01:23

The permissions_api module provides a method for adding and removing permissions from a given role. This module helps with the issue of staging a Drupal site across multiple environments, from development sandbox to production environment.

The ability to import CCK content types through code is great until you decide that you want members of specific roles to be able to do something with this content type. Currently, the only way to grant the permissions is to navigate through the access control page in the admin interface, which is completely unusable if you have a lot of roles and a lot of modules.

This module addresses that problem by providing two functions:

permissions_grant_permissions()
permissions_revoke_permissions()

Developed and maintained by Erich Beyrent
Sponsored by CommonPlaces e-Solutions, LLC

Releases

Official releasesDateSizeLinksStatus
5.x-1.12008-Oct-187.82 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-Nov-037.99 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.