I tried to post a blog entry on my own site (running drupal 4) and selected the entry to be not yet publicly available. I was posting as admin.
But when I logout and goto the user blogs page, I can still see the title and teaser.
Only when I click on the more link I get a message that the entry isn't available.

Is this by design ? I would expect the entry to be not visible anywhere when you're not the author.

Comments

Anonymous’s picture

You can see it here at the site.
At this moment, when not logged in you can see these items in the "User blogs" box on the right:

RE: [drupal-devel] feature #450 : Clear up "sites what use drupa
Enhance the 'drupal sites' page at drupal.org
RE: [drupal-devel] feature #450 : Clear up "sites what use drupa

If I click on them I get a "Not found
The node you are looking for does no longer exist or is not accessible without the proper access rights." message.

If I goto http://www.drupal.org/module.php?mod=blog I can read the teasers and see they have been posted by weitzman@www.drop.org, but here also I can't read the message or the comments to it.

If I'm not supposed to be able to read them, because they are not public, I would expect them not to show up either.

neko’s picture

same for posting a story - I want users to post stories that won't show up in their categories, either.

I only want a story to show up after an "admin" has approved and made the story public. Is this a bug?

update: I managed to change story.module to create stories unpublished by default, here's my code snippet:

function story_save($op, $node) {

  if ($op == "approve") {
    return array("status" => 1, "promote" => 1);
  }

  if ($op == "create") {
    if (user_access("administer nodes")) {
      return array("body" => filter($node->body), "teaser" => filter($node->teaser));
    }
    else {
      //return array("body" => filter($node->body), "moderate" => 1, "teaser" => filter($node->teaser));
      // SM 2/10/2003 5:16PM - change default story create to have status of zero (unpublished)
      return array("body" => filter($node->body), "status" => 0, "moderate" => 1, "teaser" => filter($node->teaser));
    }
  }

  if ($op == "decline") {
    return array("status" => 0, "promote" => 0);
  }

  if ($op == "update") {
    return array("body" => filter($node->body), "teaser" => filter($node->teaser));
  }
}

note that I had to further change "moderate" => 0 for the new stories to appear in the "non-published nodes" section of "content management" in the admin interface.

crisdias’s picture

I think I am running on a similar problem here: I am using Forums and I want registered users to be able to freely post forum topics. Thus I give them "post forum topics without approval". But, I guess, since forum topics are nodes that automatically give them "post content without approval", which I *do not* want. Now a registered user has "submit" as a menu option and can add nodes.

Is there a way out of this?