Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Domain Access Permissions

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:04
    With all of the things that we have in place
  • 0:06
    for our three domains using Domain Access at this point,
  • 0:10
    the one thing that we have not looked at which is very, very important to understand
  • 0:14
    is the permissions that come with Domain Access.
  • 0:16
    At the end of the day, we have three domains pointing to one Drupal site,
  • 0:21
    and Domain Access is using permissions— it's using an access system—
  • 0:26
    to control who gets to do what with the content
  • 0:30
    on those different domains.
  • 0:32
    And so permissions are obviously a really big part
  • 0:35
    of making the site work the way that you intend

Domain Access Permissions

Loading...

To really make Domain Access work the way you need it, you need to make sure you set up your roles, users, and permissions correctly. We've been setting things up on our site as the administrator, but so far our site is not configured for other people to be involved. In this tutorial we're going to configure the permissions so that we have authenticated users who can create and edit content on particular domains. We'll also have several editors. Two of the editors can only manage content on their particular domains, while one editor will have access to all content across all three domains.

In the process of setting this up we'll review the Domain Access permissions documentation, then dive into configuring them. We will also look at how we can set a default domain for a role, even though we won't need that for this use case. To test things out, we'll create some content as different users and see how the editors can or can not interact with that content.

To get things moving in this lesson, we are starting off having already created a number of users, and adding an editor role to the site. We don't walk through this process in the lesson, so if you need a refresher for creating roles and users, you can watch Hands-On: Creating Roles and Users from the Using Drupal series.

Downloads: 
Log in or sign up to download companion files.
Additional resources: 

Domain Access Permissions (drupal.org handbook)