Allow non-admins to change a node's publishing options

Wesley Tanaka - December 9, 2005 - 17:06
Project:Drupal
Version:5.x-dev
Component:node.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

modulo this thing:
http://drupal.org/node/40555

this patch adds a "toggle nodes sticky" role which is necessary for setting moderators for your forum that don't have full admin access.

See also: http://drupal.org/node/39330

AttachmentSize
stickymod.patch1.86 KB

#1

drumm - May 3, 2006 - 08:50
Priority:critical» normal
Status:needs review» needs work

This is not critical and 'toggle nodes sticky' doesn't seem like a very understandable permission name.

#2

Wesley Tanaka - January 10, 2007 - 10:01
Version:x.y.z» 5.x-dev

The main problem with core code appears to have been fixed with http://drupal.org/cvs?commit=50606

#3

catch - January 10, 2007 - 10:23

There'd be quite a lot of value to having "sticky" "published" "in moderation" available to certain users for specific node types rather than the all or nothing with administer nodes. The content moderator module works along these lines although the UI is external to the normal edit page for nodes so it feels like a bit of a hack.

#4

RobRoy - January 11, 2007 - 00:38
Title:give drupal forums some phpbb features: a moderator role that can toggle a node's sticky bit» Allow non-admins to change a node's publishing options
Version:5.x-dev» 6.x-dev
Status:needs work» active

I've made a small beta release of http://drupal.org/project/override_node_options which will help alleviate this issue for 4.7.x and 5.x. Let's work on this in contrib and get it ready for D6 core. So please post issues/patches to that project.

Currently, there is just one perm but I plan on making them really granular, for each node type and/or each node publishing status. It will be a lot of perms so it's fine for contrib, but we'll have to think of a cleaner solution for core.

#5

Wesley Tanaka - July 13, 2007 - 14:47
Version:6.x-dev» 5.x-dev
Status:active» fixed

Indeed the problem in core was fixed in 5.x. With a combination of hook_form_alter and a hackish hook_nodeapi, it's possible to do this completely in a module in 5.1. An example can be found here

#6

Anonymous - July 27, 2007 - 14:57
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.