Any easy way to prevent delegated users from deleting and editing terms?

fumbling - December 27, 2008 - 08:40
Project:Taxonomy Delegate
Version:6.x-1.3
Component:User interface
Category:support request
Priority:normal
Assigned:NancyDru
Status:needs review
Description

Terrific module. My hope is to let delegated roles/users add terms to a vocabulary freely, but not to allow them to delete terms (a single user could end up deleting/editing out everyone else's contributions to a taxonomy this way). Is there a fairly straightforward way of doing this? I suppose hiding the "edit" buttons beside terms would do it? I suppose an alternative could be an easy way to revert all of a single users deletions if need be as a moderation-activity, not sure...

#1

NancyDru - February 10, 2009 - 22:37
Assigned to:Anonymous» NancyDru
Status:active» fixed

Okay, users will have to have the new permission "allow delete term" before they will see a "Delete" button.

Committed to both branches.

#2

fumbling - February 11, 2009 - 01:02

Thanks.

#3

System Message - February 25, 2009 - 01:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

dboulet - May 25, 2009 - 19:27
Status:closed» needs review

This fix works fine, except that there isn't a way to assign the permission required to allow users to delete terms. The attached patch adds the "allow delete term" permission to the user permission page using hook_perm().

AttachmentSize
taxonomy_delegate_351508_hook_perm.patch 694 bytes

#5

dboulet - May 25, 2009 - 20:02

#6

giorgio79 - June 23, 2009 - 17:46

Oh wow, I have been looking for such a module for at least 5 days now...Letting users edit and add terms to a taxonomy without having full admin rights to the vocabulary in question. Will be testing this patch now.

Would be cool to get in here a moderation feature as well :P so admin could approve or reject new terms, and term edits. :)

 
 

Drupal is a registered trademark of Dries Buytaert.