summaryrefslogtreecommitdiff
path: root/httemplate/elements/notify-tickets.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-08-02 11:44:08 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-08-02 11:44:08 -0400
commit1dd01d7a9cf72afc02daf5071f2dbbda199191ed (patch)
treeeecbe1dff3b3f889ea7f018bcfdb934eca038e16 /httemplate/elements/notify-tickets.html
parent74dcfa11ddacefb8349a2811525f704284b13b2b (diff)
RT# 73490 - updated group access right with better name, and set one time migration to update all groups.
Diffstat (limited to 'httemplate/elements/notify-tickets.html')
-rw-r--r--httemplate/elements/notify-tickets.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html
index ce367deeb..b2541f0e7 100644
--- a/httemplate/elements/notify-tickets.html
+++ b/httemplate/elements/notify-tickets.html
@@ -14,7 +14,7 @@
use Class::Load 'load_class';
my $enabled = $FS::TicketSystem::system eq 'RT_Internal';
-$enabled = 0 if $FS::CurrentUser::CurrentUser->access_right('not an RT');
+$enabled = 0 unless $FS::CurrentUser::CurrentUser->access_right('RT activity notification');
my $UnrepliedTickets;
if ($enabled) {
my $class = 'RT::Search::UnrepliedTickets';