Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Use case: there is a big database about the users and their various data (implemented by the help of Content Profile module). Anybody should be able to submit modifications to that database, but any user should be able to edit her own data without moderation. This is not possible without this patch at the time of writing - so please consider applying it.
Comment | File | Size | Author |
---|---|---|---|
#2 | revision_moderation-873790-2.patch | 1.99 KB | Boobaa |
revision_moderation.patch | 1.73 KB | Boobaa |
Comments
Comment #1
jbrauer CreditAttribution: jbrauer commentedThis looks interesting. A very minor nit in that I'm not a fan of the $update_goes_live variable name as it's not equal to the other access terms in the if statements. Maybe calling the variable $users_own_content_allowed (which I'm still not thrilled with) but something along those lines.
Comment #2
BoobaaNow the need has arisen to be able to grant a role a different permission that allows them to update even others' content without moderation. Patch has been updated accordingly; now the aforementioned magic variable name is
$updating_live_allowed
-- hope that will be better.