[Bps-public-commit] RT-BugTracker-Public branch, 4.2-4.4-compatibility, updated. 1.00-14-g6d2e828

Shawn Moore shawn at bestpractical.com
Wed Mar 8 16:58:34 EST 2017


The branch, 4.2-4.4-compatibility has been updated
       via  6d2e82892e1b86dd0053ea9e4b26e688e2afa4c7 (commit)
      from  54fb914ce75f2e26e4ad419ccf2be9e1fc7f4440 (commit)

Summary of changes:
 html/Public/Bug/Update.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 6d2e82892e1b86dd0053ea9e4b26e688e2afa4c7
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Wed Mar 8 21:58:25 2017 +0000

    Have WebPublicUserReporting permit ticket reply too

diff --git a/html/Public/Bug/Update.html b/html/Public/Bug/Update.html
index e63a87c..d51ce47 100755
--- a/html/Public/Bug/Update.html
+++ b/html/Public/Bug/Update.html
@@ -89,7 +89,7 @@
 <tr><td align="right"><&|/l&>Attach</&>:</td><td><input name="Attach" type="file" /><input type="submit" class="button" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" /><input type="hidden" class="hidden" name="UpdateAttach" value="1" />
 </td></tr>
 <tr><td align="right" valign="top"><&|/l&>Message</&>:</td><td>
-<& /Elements/Callback, _CallbackName => 'BeforeMessageBox', %ARGS &>
+% $m->callback( CallbackName => 'BeforeMessageBox', %ARGS );
 % if (exists $ARGS{UpdateContent}) {
 % # preserve QuoteTransaction so we can use it to set up sane references/in/reply to
 % my $temp = $ARGS{'QuoteTransaction'};
@@ -111,7 +111,8 @@
 % }
 </form>
 <%INIT>
-return if $session{'CurrentUser'}->Name eq $RT::WebPublicUser;
+return if $session{'CurrentUser'}->Name eq $RT::WebPublicUser
+       && !RT->Config->Get("WebPublicUserReporting");
 
 my $TicketObj = LoadTicket($id);
 

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


More information about the Bps-public-commit mailing list