[Rt-commit] r9274 - in rtfm/branches/2.2-RELEASE: .
falcone at bestpractical.com
falcone at bestpractical.com
Thu Oct 11 12:32:58 EDT 2007
Author: falcone
Date: Thu Oct 11 12:32:58 2007
New Revision: 9274
Modified:
rtfm/branches/2.2-RELEASE/ (props changed)
rtfm/branches/2.2-RELEASE/lib/RT/FM/Article_Overlay.pm
Log:
r25327 at ketch (orig r9261): falcone | 2007-10-10 12:55:34 -0400
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.2-RELEASE/lib/RT/FM/Article_Overlay.pm
==============================================================================
--- rtfm/branches/2.2-RELEASE/lib/RT/FM/Article_Overlay.pm (original)
+++ rtfm/branches/2.2-RELEASE/lib/RT/FM/Article_Overlay.pm Thu Oct 11 12:32:58 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