Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Drupal Jumpstart > Hands-On: Creating Roles and Users

Hands-On: Creating Roles and Users

Earlier, we talked about Drupal’s access control system, and how it’s composed of users, roles, and permissions that map to who is going to use the site and what they’re going to want to do on it. Let’s spend a moment brainstorming about Mom and Pop, Inc.’s needs in this area.

This site will have four types of users:

  • Passing visitors, who will basically only be able to read and search content, comment on news items once their content has been approved, and send mail with the contact form. This will map to the built-in “anonymous user” role in Drupal.

  • Customers, who will log into the site and can freely comment on content, but aren’t able to actually post news items themselves. Because they will be logged in, we’ll use the built-in “authenticated user” role for customers.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial