At the place I work we have sensitive information that can't be published on the web so I made a couple of roles to help eliminate accidental leaks of information. I created a 'writer', who obviously does the writing and an 'editor' who looks at the content in the moderation queue and decides if it the content is safe to publish on the website. If it is not, then the 'editor' tells the 'writer' what needs to be changed and then the 'writer' makes the changes.

Since the 'writer' doesn't have the right to administer nodes, they can't see the admin/node page that lists all the content. This means that after they submit a story/page to the moderation queue, they can't go back to the content of the story/page to edit it and make changes that the 'editor' requested that they change.

They are able to type, in the address bar, node/#/edit to directly access the a specific non-published story/page but they can't find the number of the node they created without someone else going to the admin/node page and looking up their story/page for them.

It would be nice to let the 'writer's see a list of all their own stories/pages that they created whether or not it has been published. I tried using the default tracker module(my recent posts) but this only lists the 'writer's PUBLISHED content.

I would appreciate any suggestions.

Thanks

Comments

sepeck’s picture

write a query that lists content written by that author and is unpublished.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

Johnl-2’s picture

Where should I write this query and where should I display the list?

sepeck’s picture

http://drupal.org/handbook/customization/php-snippets
Nothing really already written for you there, but a new thought. It may be posible to do this with Views module as well. Create a View as a block, have it filter on node by author and unpublished. Mihgt do what you want as well.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

Johnl-2’s picture

Thanks for the tip for the Views module.
I can now see the unpublished content created by the current user.

ambrojio’s picture

I used Views to create a page for users to view unpublished content, but it returns no nodes unless the user's role allows the role to administer nodes....which gives them abilities I don't want them to have. Is this because I am using a page? Doesn't seem likely. Any thoughts as to why this might happen?

Nemmind, a permissions rebuild seems to have solved the issue.

oweowe’s picture

What is permission rebuild?