Configuring the visibility of the page

There are many situations that will require a page's visibility to be restricted in some way. For example, a private members area to display restricted content. In this recipe, we will see how a page can be setup with restrictions that make it accessible by a specified user role.

Getting ready

For this recipe, please ensure you have installed the Panels and Views modules described in the introduction to this chapter.

How to do it...

We will begin by creating a new page to which we will add some sample content. We will then configure the access permissions so that only authenticated users can access the page:

  1. Select Structure from the admin menu, then select Pages.
  2. Select +Add custom page.
  3. In the Administrative ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.