? drigg-anti-abuse-238372-2.patch Index: drigg.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/drigg/drigg.module,v retrieving revision 1.1.2.47 diff -u -p -r1.1.2.47 drigg.module --- drigg.module 7 Apr 2008 02:22:18 -0000 1.1.2.47 +++ drigg.module 9 Apr 2008 01:13:03 -0000 @@ -67,6 +67,7 @@ function drigg_perm() { return array( 'submit drigg stories', 'edit own drigg stories', + 'edit own promoted drigg stories', 'edit drigg stories', 'kill drigg stories', 'delete drigg stories', @@ -103,7 +104,9 @@ function drigg_access($op, $node) { } elseif (user_access('edit own drigg stories') && ($user->uid == $node->uid)) { if (!variable_get('drigg_hours_able_to_edit', '0') || ((time() - $node->created) < (variable_get('drigg_hours_able_to_edit', '0') * 3600))) { - return TRUE; + if ($node->promote && user_access('edit own promoted drigg stories')) { + return TRUE; + } } } return FALSE;