18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3 ■ Creating and Managing Users<br />

As soon as the account is created, <strong>Drupal</strong> sends an e-mail to the e-mail address entered by the user and<br />

displays a success message displayed on the screen: “Thank you for applying for an account. Your account<br />

is currently pending approval by the site administrator. In the meantime, a welcome message with further<br />

instructions has been sent to your e-mail address.”<br />

If you configured your system to allow users to create an account but an administrator must manually<br />

approve that account, you’ll need to visit the People page and edit that user’s account, changing the user’s<br />

status from Blocked to Active. Until the user’s status has been changed, they will be unable to log in to your<br />

site with their user ID and password. If you selected the option where users can create an account and the<br />

account does not require administrator approval, the user will be able to log in to your site immediately.<br />

Resetting Users’ Passwords<br />

One of <strong>Drupal</strong>’s features that saves site administrators hours of work a year is the ability for users to reset<br />

their passwords without having to e-mail a site administrator asking someone to reset their password for<br />

them. If you log out of your site (clicking the logout link at the top right of the page), you’ll note that in the<br />

right column, under the “Log in” button, there is a link for resetting your password (refer to Figure 3-8).<br />

Clicking this link reveals a page where the visitor can enter either their user ID or their e-mail address.<br />

Entering either a valid username or a valid e-mail address (where “valid” means that it exists as either<br />

a valid user ID on your site or a valid e-mail address associated with a user account on your site) results in<br />

<strong>Drupal</strong> generating an e-mail that is sent to the user with a “one-time login” link that allows them to reset<br />

their password.<br />

Summary<br />

In this chapter, I covered the process for configuring how <strong>Drupal</strong> handles user accounts and the approach<br />

for creating user roles and assigning permissions to those roles. I discussed the decisions that you as the<br />

site owner must make when setting up your site, including whether you will be the only person who has the<br />

ability to administer the site and create content, or whether you will have others who will be responsible for<br />

those areas.<br />

If there will be others assigned to tasks of creating content or managing the site, then you’ll want to<br />

configure the base settings for user accounts, create roles for those who will be performing activities on your<br />

site, and set the appropriate permissions. You’ll also want to define whether only administrators can create<br />

accounts, visitors can create their own accounts without an administrator approving their accounts, or<br />

visitors can create an account but an administrator must approve it. Once you’ve made those decisions and<br />

set the parameters discussed in this chapter, you’re ready to start adding users to your site.<br />

You can have all the visitors you can handle, but they probably won’t stick around long if they can’t<br />

find the content they’re interested in on your site. That’s where taxonomy comes in, which is what we’ll talk<br />

about next.<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!