We've created the roles specific to our site and assigned to them the permissions that grant them the access that they need. The only thing we're missing now...are users. Each user needs an account. Where do they come from?
There are three ways that most users obtain a Drupal account:
- A user with permissions to create a user account does so on the user's behalf
- The user registers for an account
- The user obtains an account via single sign-on (SSO), such as through a Facebook account
Of these, the latter method is out of scope for this book, as it is a more in-depth administrative topic. Let's take a look at the other two.
We're going to learn how to create a user account. Some sites choose to allow users to create an account that immediately becomes active with no review, some choose to require the account to stay inactive until an administrative user approves it, which is what we will emulate here, and some create all user accounts administratively and do not allow...