[Rt-commit] rt branch, 4.0/ticket-update-permission-abort, created. rt-4.0.6-253-gf429576

Alex Vandiver alexmv at bestpractical.com
Tue Aug 7 18:48:41 EDT 2012


The branch, 4.0/ticket-update-permission-abort has been created
        at  f429576177ff785f871418246088c7ffe7bc6d56 (commit)

- Log -----------------------------------------------------------------
commit f429576177ff785f871418246088c7ffe7bc6d56
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Aug 7 18:48:36 2012 -0400

    Update the wording to clarify that a change went through

diff --git a/share/html/Ticket/Display.html b/share/html/Ticket/Display.html
index 5e84a50..6be0216 100755
--- a/share/html/Ticket/Display.html
+++ b/share/html/Ticket/Display.html
@@ -180,7 +180,7 @@ if ($ARGS{'id'} eq 'new') {
         # XXX: we shouldn't block actions here if user has no right to see the ticket,
         # but we should allow him to see actions he has done
         unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
-            Abort("No permission to view ticket");
+            Abort("A change was applied successfully, but you no longer have permissions to view the ticket");
         }
         if ( $ARGS{'MarkAsSeen'} ) {
             $TicketObj->SetAttribute(

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


More information about the Rt-commit mailing list