Allow roles with permission to skip moderation by default

j0sh - February 3, 2008 - 17:22
Project:modr8
Version:5.x-2.3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

hi guys
is there a way to uncheck automatically the moderation queue check if a user have the "content moderation" permission?

#1

pwolanin - February 13, 2008 - 03:26
Status:active» fixed

http://drupal.org/node/153462

#2

Anonymous (not verified) - February 27, 2008 - 03:31
Status:fixed» closed

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

#3

storbaek - April 15, 2008 - 06:40
Status:closed» postponed (maintainer needs more info)

Hi. Was this patch included in the 2.4 version? I did not see it in the release notes.

Thank a lot for the work. The patch has worked perfectly.

Dan

#4

pwolanin - April 15, 2008 - 17:07

@storbaek - no, this is not something included in modr8. You need to write an add-on module (see link) if you want this functionality.

#5

storbaek - April 18, 2008 - 22:10

I looked at the link, but it's only regarding applying patches. How can we use the patch to a module? After reading nodes on drupal, it seems much better to use the patch in a module then just patching a module. Then we do not have to worry about the patch upo future releases. Can someone say what we need to paste to a text file to create a module? We know what a module consists of, but being non-programmers it's very diffucult moving from a workable patch to a workable module.

Thank you!

#6

VM - April 18, 2008 - 22:21

The link is to a mini module, not to a patch, not to anything about applying patches. Adding a mini module is very simple to do, simply copy and paste the code as instructed into a .module file.

I suggest you take the time to read the page linked so you have an undestanding of what is going on.

#7

pwolanin - April 18, 2008 - 23:17

The link is to an entire module's code. Maybe I should add such a demo module to this download?

#8

VM - April 18, 2008 - 23:37

or put it in a contrib folder in the module itself may work as well

#9

pwolanin - April 19, 2008 - 00:14

@VeryMisunderstood - yes, basically that's what I meant.

#10

seanr - February 4, 2009 - 19:48
Title:skip node moderation for moderators» Allow roles with permission to skip moderation by default
Component:User interface» Code
Category:support request» feature request
Status:postponed (maintainer needs more info)» needs review

Attached is a patch that adds this functionality directly to modr8 rather than relying on a separate module that isn't even in CVS let alone has a project page (would it have been that hard to do rather than posting raw code in the handbook?).

AttachmentSize
modr8.module.patch 1.02 KB

#11

pwolanin - February 10, 2009 - 22:17

@seanr - this sort of module is often very site specific and is trivial to code. It does not need its own project.

I have resisted adding this sort of functionality to modr8 since I have had feature requests wanting 1 excluded role, others want X roles, other want to exclude a certain node type for a certain role, ad infinitum...

 
 

Drupal is a registered trademark of Dries Buytaert.