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
http://drupal.org/node/153462
#2
Automatically closed -- issue fixed for two weeks with no activity.
#3
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
@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
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
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
The link is to an entire module's code. Maybe I should add such a demo module to this download?
#8
or put it in a contrib folder in the module itself may work as well
#9
@VeryMisunderstood - yes, basically that's what I meant.
#10
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?).
#11
@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...