You are here

README.txt in RoleAssign 6

Same filename and directory in other branches
  1. 8 README.txt
  2. 7.2 README.txt
  3. 7 README.txt
ROLEASSIGN
==========

RoleAssign specifically allows site administrators to further delegate
the task of managing user's roles.

RoleAssign introduces a new permission called 'assign roles'. Users
with this permission are able to assign selected roles to still other
users. Only users with the 'administer permissions' permission may
select which roles are available for assignment through this module.

This module was developped by TBarregren and is now maintained by
salvis.


BACKGROUND
----------

It is possible for site administrators to delegate the user
administration through the 'administer users' permission. But that
doesn't include the right to assign roles to users. That is necessary if
the delegatee should be able to administrate user accounts without
intervention from a site administrator.

To delegate the assignment of roles, site administrators have had until
now no other choice than also grant the 'administer permissions'
permission. But that is not advisable, since it gives right to access
all roles, and worse, to grant any rights to any role. That can be
abused by the delegatee, who can assign himself all rights and thereby
take control over the site.

This module solves this dilemma by introducing the 'assign roles'
permission. While editing a user's account information, a user with this
permission will be able to select roles for the user from a set of
available roles. Roles available are configured by users with the
'administer permissions' permission.


INSTALL
-------

1. Copy the entire 'roleassign' directory, containing the
'roleassign.module' and other files, to your Drupal modules directory.

2. Log in as site administrator.

3. Go to the administration page for modules and enable the module.


CONFIGURATION
-------------

1. Log in as site administrator.

2. Go to the administration page for access control and grant 'assign
roles' permission to those roles that should be able to assign roles to
other users. Notice that besides the 'assign roles' permission, these
roles also must have the 'administer users' permission.

3. Go to the administration page for role assign and select those roles
that should be available for assignment by users with 'assign roles'
permission.

4. For each user that should be able to assign roles, go to the user's
account and select a role with both the 'assign roles' and the
'administer users' permissions.

Beware: granting 'administer users' permission to users will allow them
to modify admin passwords or email addresses or even delete the site
administrator account. The User Protect module can prevent this.


USAGE
-----

1. Log in as a user with both the 'assign roles' and the 'administer
users' permissions.

2. To change the roles of a user, go to the user's account and review
the assignable roles and change them as necessary.


File

README.txt
View source
  1. ROLEASSIGN
  2. ==========
  3. RoleAssign specifically allows site administrators to further delegate
  4. the task of managing user's roles.
  5. RoleAssign introduces a new permission called 'assign roles'. Users
  6. with this permission are able to assign selected roles to still other
  7. users. Only users with the 'administer permissions' permission may
  8. select which roles are available for assignment through this module.
  9. This module was developped by TBarregren and is now maintained by
  10. salvis.
  11. BACKGROUND
  12. ----------
  13. It is possible for site administrators to delegate the user
  14. administration through the 'administer users' permission. But that
  15. doesn't include the right to assign roles to users. That is necessary if
  16. the delegatee should be able to administrate user accounts without
  17. intervention from a site administrator.
  18. To delegate the assignment of roles, site administrators have had until
  19. now no other choice than also grant the 'administer permissions'
  20. permission. But that is not advisable, since it gives right to access
  21. all roles, and worse, to grant any rights to any role. That can be
  22. abused by the delegatee, who can assign himself all rights and thereby
  23. take control over the site.
  24. This module solves this dilemma by introducing the 'assign roles'
  25. permission. While editing a user's account information, a user with this
  26. permission will be able to select roles for the user from a set of
  27. available roles. Roles available are configured by users with the
  28. 'administer permissions' permission.
  29. INSTALL
  30. -------
  31. 1. Copy the entire 'roleassign' directory, containing the
  32. 'roleassign.module' and other files, to your Drupal modules directory.
  33. 2. Log in as site administrator.
  34. 3. Go to the administration page for modules and enable the module.
  35. CONFIGURATION
  36. -------------
  37. 1. Log in as site administrator.
  38. 2. Go to the administration page for access control and grant 'assign
  39. roles' permission to those roles that should be able to assign roles to
  40. other users. Notice that besides the 'assign roles' permission, these
  41. roles also must have the 'administer users' permission.
  42. 3. Go to the administration page for role assign and select those roles
  43. that should be available for assignment by users with 'assign roles'
  44. permission.
  45. 4. For each user that should be able to assign roles, go to the user's
  46. account and select a role with both the 'assign roles' and the
  47. 'administer users' permissions.
  48. Beware: granting 'administer users' permission to users will allow them
  49. to modify admin passwords or email addresses or even delete the site
  50. administrator account. The User Protect module can prevent this.
  51. USAGE
  52. -----
  53. 1. Log in as a user with both the 'assign roles' and the 'administer
  54. users' permissions.
  55. 2. To change the roles of a user, go to the user's account and review
  56. the assignable roles and change them as necessary.