Make content visible only to the author in Drupal

I want to allow members of the Drupal website to upload their own content (something like a blog post or questionnaire) to their site, but they are only visible to themselves (hidden from other members with the same role). The idea is to store in them some personal content that other members should not see, but that only the author will have to see (or have access) when using the site.

What modules do I need to use? Or how can I customize this?

+4
source share
3 answers
+3
source

I donโ€™t know if you solved this problem, but recently I did something similar with a shared blog in Drupal 7. I wanted users to have both private and public blog posts. I used the Save Draft module (http://drupal.org/project/save_draft) to add an extra button to the content editing screen, which I called Save (Unpublished), rather than โ€œSave Draftโ€ - I used String Overrides to make this happen (http://drupal.org/project/stringoverrides). In the admin panel, for authenticated users, permission was granted to view and edit their own unpublished items. This way, users can save their blog posts so that others cannot see them. Then I used Views (http://drupal.org/project/views) to create a list view that used the criteria content type = blog, state = unpublished and content author = current user. This gives users a list of their unpublished blog posts.

+2
source

The https://drupal.org/project/view_own module handles exactly what you are looking for.

0
source

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


All Articles