Creating a Touchstone-Protected Drupal Cloud Page
This article provides instructions for creating Drupal Cloud pages that require Touchstone login.
NOTE: In order to use these instructions you will need to be logged in as Content Manager on the Drupal Cloud site.
Configure a Drupal Cloud page to require Touchstone login
- Enable "content access" module
- Navigate to Admin->Structure->Content Types -> Basic page
- Click Access Control Tab
- Enable "per content node access control"
- Navigate to the basic page you wish to restrict
- Click Access Control Tab
- Under "View any page content" deselect anonymous user
- Under "View own page content" deselect anonymous user
- Submit
- Navigate to Admin->Configuration-> (System Box) Site information
- Change "Default 403 (access denied) page" to user/login
- Save configuration
Show Touchstone protected pages in menu bar
Context: By default, anonymous users can't see menu items they don't have permission to view. Ex. If blogs are restricted to logged in users, it will not appear in the menu bar if you're not logged in.
- Navigate to Admin -> Structure -> Menus
- Click "list links" next to the menu you want to have the page appear in (typically it's the main menu).
- Click edit next to the menu link that is no longer visible to unauthenticated users (or add a new link)
- Change the path to the full URL of the page ex: https://qb-forms-sample.mit.edu/personal-information-data-storage
- Save