allow users to delete own content (with nodeaccess?)

BastouBach - June 25, 2009 - 14:44

I have a content type displayed in a view. I want to allow users to delete their own content. The content type is called 'inventory'
In the permissions I checked: delete own inventory content and access administration pages.
When I go to /admin/content it says You do not have any administrative items (even if the user has created a node of that type).
So I tried to allow 'administer nodes' but all the content then shows and is editable. Which I don't want of course.
I tried using the node access module. It looks pretty simple to use, but I may be missing something as it doesn't seem to change anything to the situation described above...
Could anyone help by describing the settings I need?
Tx.

If you give a role permission

caschbre - June 25, 2009 - 15:40

If you give a role permission to delete own content, the user needs to go view the content node, click edit and then click delete. You shouldn't need to give administer node or use nodeaccess.

If you want users to see what content they've created, you can create a view to do so.

the content they create is

BastouBach - June 25, 2009 - 16:20

the content they create is only displayed in a table view. This is why they don't have direct access to edit and delete.
You're right, I think I need to create a view showing the user's own content...

 
 

Drupal is a registered trademark of Dries Buytaert.