Export Roles & Permissions

Component ID

2021689

Component name

Export Roles & Permissions

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2203

Component created

Component changed

Component body

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.