diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /rt/docs/design_docs/approval_template | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'rt/docs/design_docs/approval_template')
-rw-r--r-- | rt/docs/design_docs/approval_template | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/rt/docs/design_docs/approval_template b/rt/docs/design_docs/approval_template deleted file mode 100644 index 16a988c5d..000000000 --- a/rt/docs/design_docs/approval_template +++ /dev/null @@ -1,25 +0,0 @@ -===Create-Ticket: approval - { my $name = "HR"; - my $groups = RT::Groups->new($RT::SystemUser); - $groups->LimitToUserDefinedGroups(); - $groups->Limit(FIELD => 'Name', OPERATOR => '=', VALUE => "$name"); - $groups->WithMember($TransactionObj->CreatorObj->Id); - - my $groupid = $groups->First->Id; - - my $adminccs = RT::Users->new($RT::SystemUser); - $adminccs->WhoHaveRight(Right => 'AdminGroup', IncludeSystemRights => undef, IncludeSuperusers => 0, IncludeSubgroupMembers => 0, Object => $groups->First); - - my @admins; - while (my $admin = $adminccs->Next) { - push (@admins, $admin->Name); - } - } - Queue: Approvals - Type: Approval - AdminCcs: {join (", ",@admins) } - Depended-On-By: {$tickets{'TOP'}->Id} - Refers-To: {$tickets{'TOP'}->Id} - Due: {time + 86400} - Content-Type: text/plain - Content: Your approval is requested for the ticket {%$tickets{'TOP'}->Id}: {$tickets{'TOP'}->Subject} |