From 09ae8565ecf6d252ab770e5efacd4c305103a34a 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. Conflicts: FS/FS/access_right.pm --- httemplate/elements/notify-tickets.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index aebbef669..083e81512 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