Chapter 7. User Management

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Creating user accounts

  • Using OpenID

  • Creating roles and permissions

  • Setting up user account e-mails (new account, password reset, and so on)

  • Creating custom user profiles

  • What happens when a user cancels their account

  • Moderating new user accounts

  • Managing sessions

Unless you plan to be an extremely busy person, you'll most likely want to recruit a few people to help manage your site. You'll also probably want to allow your site visitors to create an account on your site. Like most websites, a user account provides a visitor with a personal profile and allows them to track their content, and you can grant them permissions. As you saw in Chapter 3, "Your First Drupal Site," creating a members-only website is as easy as removing the permission from the Anonymous User role.

In this chapter, you dig deeper into user account management to explore the settings that control what notification e-mails are sent to the user (such as password requests, new accounts, and so on), what happens when a user account is canceled (is their data kept or removed?), and the important permissions to watch out for. You'll also create custom user profiles and explore the OpenID module to encourage users who are registered on external sites to register on your site.

CREATING USER ACCOUNTS

With your Drupal website, you can choose what your visitors can do with or without a user account. For example, a default Drupal website allows all site visitors to view ...

Get Beginning Drupal® 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.