drush role commands


Drush role commands for Drush 7.

  • role-add-perm


    Grant specified permission(s) to a role.


    drush role-add-perm

    drush role-add-perm

  • role-create


    Create a new role.


    drush role-create

    drush role-create

  • role-delete


    Delete a role.


    drush role-delete

    drush role-delete

  • role-list


    Display a list of all roles defined on the system. If a role name is provided as an argument, then all of the permissions of that role will be listed. If a permission name is provided as an option, then all of the roles that have been granted that permission will be listed.


    drush role-list

    drush role-list

  • role-remove-perm


    Remove specified permission(s) from a role.


    drush role-remove-perm

    drush role-remove-perm