[Rt-commit] [svn] r1341 -
rt/branches/3.2-RELEASE/html/Ticket/Elements
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Tue Aug 17 19:57:59 EDT 2004
Author: alexmv
Date: Tue Aug 17 19:57:59 2004
New Revision: 1341
Modified:
rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction
Log:
RT-Ticket: 5897
RT-Update: correspond
RT-Status: resolved
* ModifyTicket includes CommentOnTicket and ReplyToTicket rights;
this effects display of "[Reply] [Comment]" links per transaction
Modified: rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/3.2-RELEASE/html/Ticket/Elements/ShowTransaction Tue Aug 17 19:57:59 2004
@@ -154,7 +154,8 @@
}
if ( $Attachments->[0] && $ShowTitleBarCommands ) {
- if ( $Transaction->TicketObj->CurrentUserHasRight('ReplyToTicket') ) {
+ if ( $Transaction->TicketObj->CurrentUserHasRight('ReplyToTicket')
+ or $Transaction->TicketObj->CurrentUserHasRight('ModifyTicket')) {
$titlebar_commands .=
"[<a href=\"".$UpdatePath."?id="
. $Transaction->Ticket
@@ -164,7 +165,8 @@
. loc('Reply')
. "</a>] ";
}
- if ( $Transaction->TicketObj->CurrentUserHasRight('CommentOnTicket') ) {
+ if ( $Transaction->TicketObj->CurrentUserHasRight('CommentOnTicket')
+ or $Transaction->TicketObj->CurrentUserHasRight('ModifyTicket')) {
$titlebar_commands .=
"[<a href=\"".$UpdatePath."?id="
. $Transaction->Ticket
More information about the Rt-commit
mailing list