GSoC/GCI Archive
Google Code-in 2014 Drupal

'Administer users by role' module for Drupal 8

completed by: Getulio Valentin Sanchez Ozuna

mentors: Andrei - Marius Dincu

This module allows site builders to set up fine-grained permissions for allowing users to edit and delete other users — more specific than Drupal Core's all-or-nothing 'administer users' permission. It also provides and enforces a 'create users' permission.To use this module:1. Create a role for the users who you'd like to be able to create/edit/delete other users2. Give that new role the 'administer users' permission and give it the desired Administer Users by Role permissionsIf the user-being-edited has multiple roles, the user-doing-the-editing must have permission to edit ALL of the user-being-edited's roles.

Deliverables - Create a sandbox project on and provide its link for review. Minimum requirements are a functional module that allows users with a specific role to delete/add/block other users with specific roles. You should port also the tests.

Resources - * Administer users by role module for Drupal 7: