Hi,
I'm trying to configure a site that is both public, but retains some posts that are private to me. I'd like users to be able to search the site and get results, minus the private pages. However, I'd like to be able to run a search over all the pages, including private ones. Currently I'm using Drupal 4.7, but moving up to 5 shouldn't be a problem if necessary.
I haven't yet decided the best way to make some posts private either--I'm leaning toward organic groups, with basically two groups--me and everyone else. But if there's some other way to do it to make the search happen as I describe above, I'm open to that as well.
I'm sure I haven't listed all the relevant info on what I'm trying to do, but I'm pretty much in the dark about how to go about configuring this. I've had no problem using drupal for a course I'm teaching and getting user roles working (differentiating between the public, students, and administrator), but this just lets some people search everything and some people search nothing. I'm looking for something a bit more refined--some people search some things, only I can search everything.
Any suggestions? Thanks!
Comments
The same
I'm running v5.1, and have the same question
privacy module
The private module also works just as I wanted. Items marked as private aren't visible or searchable to the public, while they are visible and searchable to me when I'm logged in.
Taxonomy access
You can use the taxonomy accessmodule.
If you create a category called 'access' and then a term 'special-user' you can make sure that any nodes with the term 'special-user' are only accessible to users of a particular role.
As an added bonus, you can create a view that shows you all of the private nodes.