[Rt-commit] rtir branch, 2.9/grant-dutyteam-showoutgoingemail, created. 3.0.0rc1-51-gb70669e

Jim Brandt jbrandt at bestpractical.com
Fri Apr 19 13:30:03 EDT 2013


The branch, 2.9/grant-dutyteam-showoutgoingemail has been created
        at  b70669eeb643f9be193a1b25b6998ce177243494 (commit)

- Log -----------------------------------------------------------------
commit b70669eeb643f9be193a1b25b6998ce177243494
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Apr 19 13:20:40 2013 -0400

    Give DutyTeam the ShowOutgoingEmail right

diff --git a/etc/initialdata b/etc/initialdata
index 9589984..5715023 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -533,6 +533,10 @@ for my $queue (map {$_->{Name}} @Queues) {
       GroupDomain => 'UserDefined',
       Queue => $queue,
       Right  => 'Watch', },
+    { GroupId => 'DutyTeam',      # - principalId
+      GroupDomain => 'UserDefined',
+      Queue => $queue,
+      Right  => 'ShowOutgoingEmail', },
 );}
 
 push @ACL, (
diff --git a/etc/upgrade/2.9.0/content b/etc/upgrade/2.9.0/content
index 3768a18..fc92844 100644
--- a/etc/upgrade/2.9.0/content
+++ b/etc/upgrade/2.9.0/content
@@ -48,6 +48,16 @@ our @Scrips = (
        Template          => 'Blank' },
 );
 
+our @ACL;
+foreach my $queue (@OUR_QUEUES) {
+    push @ACL, (
+    { GroupId => 'DutyTeam',
+      GroupDomain => 'UserDefined',
+      Queue => $queue,
+      Right  => 'ShowOutgoingEmail', },
+	);
+}
+
 sub remove_scrip_action {
     my $module = shift;
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list