From 2f455001bfc3c9e82d8147722fd44a4ffea80963 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 2 Aug 2017 11:44:08 -0400 Subject: RT# 73490 - updated group access right with better name, and set one time migration to update all groups. --- httemplate/elements/notify-tickets.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate') 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'; -- cgit v1.2.1