[Rt-commit] r16648 - rt/3.8/trunk/lib/RT/Interface/Email/Auth
ruz at bestpractical.com
ruz at bestpractical.com
Sat Nov 1 07:16:21 EDT 2008
Author: ruz
Date: Sat Nov 1 07:16:20 2008
New Revision: 16648
Modified:
rt/3.8/trunk/lib/RT/Interface/Email/Auth/MailFrom.pm
Log:
* that is a nasty copy&paste typo that's been there for a while
forcing admins to grant CreateTicket right to everyone even if
they want to do that for unprivileged users only
Modified: rt/3.8/trunk/lib/RT/Interface/Email/Auth/MailFrom.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Interface/Email/Auth/MailFrom.pm (original)
+++ rt/3.8/trunk/lib/RT/Interface/Email/Auth/MailFrom.pm Sat Nov 1 07:16:20 2008
@@ -162,7 +162,7 @@
unless ( $everyone->PrincipalObj->HasRight( Object => $args{'Queue'},
Right => 'CreateTicket' )
|| $unpriv->PrincipalObj->HasRight( Object => $args{'Queue'},
- Right => 'ModifyTicket' ) )
+ Right => 'CreateTicket' ) )
{
$RT::Logger->debug("Unprivileged users have no right to create ticket in queue '$qname'");
return ( $args{'CurrentUser'}, 0 );
More information about the Rt-commit
mailing list