[Rt-commit] r18752 - rt/3.999/trunk/lib/RT/Model

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Mar 10 01:19:10 EDT 2009


Author: sunnavy
Date: Tue Mar 10 01:19:09 2009
New Revision: 18752

Modified:
   rt/3.999/trunk/lib/RT/Model/Queue.pm

Log:
seems we missed to create role groups when creating a queue

Modified: rt/3.999/trunk/lib/RT/Model/Queue.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/Queue.pm	(original)
+++ rt/3.999/trunk/lib/RT/Model/Queue.pm	Tue Mar 10 01:19:09 2009
@@ -253,6 +253,11 @@
         return ( 0, _('Queue could not be created') );
     }
 
+    # create role groups
+    foreach my $type ( 'owner', $self->roles ) {
+        $self->create_role_group($type);
+    }
+
     Jifty->handle->commit;
 
     if ( defined $sign ) {


More information about the Rt-commit mailing list