Chapter 9. Users and Access Control

In this chapter, we will look at how Drupal uses the idea of roles as containers to allocate permissions to the actual site users. We'll investigate how to create user accounts in your example site and how you can give those users different capabilities using the roles and permission system. We will end by showing you how to customize the user management screen.

Users and roles

Drupal allows an unlimited number of user accounts—site users each with a unique username, e-mail address, and password—and it employs roles to which you can attach permissions. A site user's capabilities are dictated by the role(s) the user is a member of and the permissions that are assigned to those role(s).

Each role, including the ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.