Users can delete own content

rcharamella - March 3, 2009 - 22:35
Project:Workspace
Version:6.x-1.3
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I've got Workspace installed. I need to turn off the option for users to be able to DELETE their entries. In permissions they don't have permission to delete, but they can use the delete button in Workspace to DELETE. How can I turn off the DELETE option or at least have it utilize the permissions for the user?

#1

hutch - March 6, 2009 - 12:22

workspace checks for node_access and will honor permissions like 'delete own page content' providing the role the user belongs to does not have 'administer nodes' permission.
See the code in function workspace_build_rows()
This presumes that the node type has implemented hook_access.

#2

Frank Ralf - July 17, 2009 - 13:24

@rcharamella

Have you checked whether the problem persists with the most recent release?

Frank

 
 

Drupal is a registered trademark of Dries Buytaert.