Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Harp, your almost there. This is how I usually set it up in D7. </p> <ol> <li>Create a role called "Members"</li> <li>Create a new vocabulary called "Access"</li> <li>Add two terms to the "Access" vocabulary, "Public" and Members Only"</li> <li>Add a new field to each content type - Admin > Structure > Content Types of type term reference. I usually use the checkbox widget but it is up to you.</li> <li>Set the vocabulary to be the "Access" vocabulary you set up in step 2</li> <li>Set the default to be "Public" - this is optional but it means all pages are publicly accessible unless specifically set to "Members Only"</li> <li>Save</li> <li>Go to the Manage Display settings for that content type</li> <li>Set the Access field to hidden</li> <li>save</li> <li>Now go to Admin > Configuration > Taxonomy access control</li> <li>Go to edit access rules for anonymous users</li> <li>Under "New" select members in the dropdown</li> <li>Set each option in the row to "D"</li> <li>Click Add</li> <li>Do steps 12 to 15 for the authenticated user</li> <li>Do steps 12 to 15, expect select "A" instead of "D" for the members role</li> </ol> <p>Now when you select Members Only for the Access field on any node, that node will not be visible to the anonymous and authenticated users. Any user with the Members role will be able to view the node. This will also hide menu items that are directed to this node. See the taxonomy terms documentation for more help. <a href="http://drupal.org/node/31601" rel="nofollow">https://drupal.org/node/31601</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload