Drupal 7: make sites private (authenticated users only)

Quite a lot of what the title says: How to make sites private or "visible only to authenticated users"?

I looked at the drupal 6 module called Private, there is some kind of patch for this, but I'm not very used to it and am happy with the patches.

Is there a built-in function that I could miss?

[edit] for specific roles [/ edit]

+4
source share
1 answer

I assume that you want to restrict access only to certain types of content, and not to all content (the Drupal core allows this). Surprisingly, it looks like you need the Contrib module for this. It looks popular and well supported: http://drupal.org/project/content_access

+2
source

Source: https://habr.com/ru/post/1383940/


All Articles