[Rt-commit] r9261 - in rtfm/branches/2.1-TESTING: .

falcone at bestpractical.com falcone at bestpractical.com
Wed Oct 10 12:55:34 EDT 2007


Author: falcone
Date: Wed Oct 10 12:55:34 2007
New Revision: 9261

Modified:
   rtfm/branches/2.1-TESTING/   (props changed)
   rtfm/branches/2.1-TESTING/lib/RT/FM/Article_Overlay.pm

Log:
 r25326 at ketch:  falcone | 2007-10-10 12:55:11 -0400
 RT-Ticket: 8588
 RT-Update: correspond
 
 Don't allow an article to be Deleted unless the user
 has DeleteArticle (not ModifyArticle)


Modified: rtfm/branches/2.1-TESTING/lib/RT/FM/Article_Overlay.pm
==============================================================================
--- rtfm/branches/2.1-TESTING/lib/RT/FM/Article_Overlay.pm	(original)
+++ rtfm/branches/2.1-TESTING/lib/RT/FM/Article_Overlay.pm	Wed Oct 10 12:55:34 2007
@@ -227,7 +227,7 @@
 
 sub Delete {
     my $self = shift;
-    unless ( $self->CurrentUserHasRight('ModifyArticle') ) {
+    unless ( $self->CurrentUserHasRight('DeleteArticle') ) {
         return ( 0, $self->loc("Permission Denied") );
     }
 


More information about the Rt-commit mailing list