In our case, we did not want editors to see, throughout non "my" sections of workbench dashboard, content types that did not belong to them.
Meaning if the did not have the "edit any article content" permission or "edit own article content" permission, then they will not see any article content types in their workbench results.
This filter does not require the Workbench Moderation: Node relationship. But if you have it enabled it will use it (with no option) by default. I do not see an issue with this since we are dealing with content types.
Below is the patch. Feedback is welcomed.
Comments
Comment #1
elvis2 commentedComment #3
elvis2 commentedRe-rolled. Forgot to include the new handler within the .info file.
Comment #4
elvis2 commentedComment #6
elvis2 commentedThanks to dags who helped me understand my errors in the first two patches.
Same code just a new method to roll the patch.
Comment #7
pmichelazzo@elvis2,
I install the patch and now I can see a new option Workbench Moderation: Filter Content Types inside of my Workbench Moderation area of filter criteria but, I don't know why I just receive the info: (Node) Broken/missing handler (= )
How can I use it? I have the same situation but I don't know which kind of parameter I need to filter off.
Thank you
Comment #8
elvis2 commented@pmichelazzo, can you provide a screenshot?