This project is not covered by Drupal’s security advisory policy.

This module depends on the Group module.

Guser allows administrators of a Group entity to create, delete, and edit subusers and or members of the group. It aims to fully recreate the drupal user management system within groups so that administrators can be given permission to edit a selective group of users instead of all the users on a site.

Simple Setup Instructions

  • Download and enable the most recent version of group/guser. Enable gadd as well if you want.
  • Create a group type at Groups > Group types(admin/group/type)
  • Enter the group type config and under 'Site User Roles' choose which roles the group type can manage
  • Setup some group roles at
    • Groups > Group roles(admin/group/role)
    • Groups > Group types > roles (admin/group/type/manage/MY_GROUP_TYPE/permissions/roles)

    Any user using guser permissions will also need the 'View Group' permission. See below for more details about the guser permissions.

  • Create a new group of the type you just created at Groups(admin/group)
  • Try out the various features of group/guser. Most guser functionality is on the 'group/%/member/user-management' and 'group/%/user/create'.
  • Break things and make issues for me.

Permissions

guser defines a handful of custom permissions for group, they are pretty self explanatory but a couple have other permissions that are required for them to work.

Create User-Allows a user to create other users that will be a subuser of the group. This can be paired with the gadd permission 'Add members' to create users and add them to a group as a member all at once.

Edit User-Allows a user to edit only the groups subusers. Requires the 'Access the member overview page' permissions so that the 'Manage Users' link will be displayed.

Edit Member's User Account-Allows a user to edit any user that is a member of the group. Requires the 'Access the member overview page' permissions so that the 'Manage Users' link will be displayed.

Edit User Roles-This permission requires either edit permission and allows access to add/remove the roles configured for the group type.

Edit User Status-This permission requires either edit permission and allows access to modify the active/blocked status of accounts.

Delete User-This permission requires either edit permission and allows a user to delete other user accounts. It also provides access to modify the status field.

View User Account Profiles-Simply grants a user the ability to see the user profiles of other users. Requires the 'Access the member overview page' permissions so that the 'Manage Users' link will be displayed.

Project information

Releases