Overview

This module allows you to generate a hook_install() implementation that creates the chosen roles with their associated permissions. The main purpose for creating this module was to transfer roles from a local dev machine to a remote stage/live server.

Related Info

Features was considered for this requirement however there doesn't seem to be a consensus on if or how to do it (#1411678: Export the permissions with the role).

The current functionality in Features requires you to select all the permissions manually.

Sponsorship

This module was developed by Brightec.

Project information

Releases