[Rt-commit] rtir branch, 5.0.0-releng, updated. 5.0.0beta1-11-g5a26a422
? sunnavy
sunnavy at bestpractical.com
Wed Jul 8 18:26:16 EDT 2020
The branch, 5.0.0-releng has been updated
via 5a26a422d2602560f89b4b79da3ee1a143fc2aa8 (commit)
via 8223d6c6e10739107658cbf76bedf73ef4977b08 (commit)
via dd32879ead002d9979710fc2793a53182d48ee81 (commit)
from 959f38802e656d283286839effd6b50e072f5e77 (commit)
Summary of changes:
html/RTIR/Create.html | 13 +------------
html/RTIR/Incident/Create.html | 1 +
2 files changed, 2 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit 8223d6c6e10739107658cbf76bedf73ef4977b08
Author: craig kaiser <craig at bestpractical.com>
Date: Wed Jul 8 17:45:49 2020 -0400
Abort on RTIR ticket create if no queue arg can be found
diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index 4b4c4e93..aff18570 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -420,6 +420,7 @@ unless ($Queue) {
last;
}
}
+Abort( loc( "Permission Denied" ) ) unless $Queue;
my $QueueObj = RT::Queue->new( $session{'CurrentUser'} );
$QueueObj->Load( $Queue );
diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
index 3566ecb5..f9de375c 100644
--- a/html/RTIR/Incident/Create.html
+++ b/html/RTIR/Incident/Create.html
@@ -411,6 +411,7 @@ unless ( $queue ) {
last;
}
}
+Abort( loc( "Permission Denied" ) ) unless $queue;
my $QueueObj = RT::Queue->new($session{'CurrentUser'});
$QueueObj->Load( $queue );
commit 5a26a422d2602560f89b4b79da3ee1a143fc2aa8
Merge: 959f3880 8223d6c6
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Jul 9 06:19:15 2020 +0800
Merge branch '5.0/abort-ticket-create-page-if-no-queue' into 5.0.0-releng
-----------------------------------------------------------------------
More information about the rt-commit
mailing list