X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FSearch%2FElements%2FEditSearches;h=e7de62bd0abd94794d4e268a48963d9130e208c0;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=0a55e0dff8cfd14b9eae694c6f7b829ed255a1eb;hpb=0ed195595b5c7ea404c8848d9d1881ada4214489;p=freeside.git diff --git a/rt/share/html/Search/Elements/EditSearches b/rt/share/html/Search/Elements/EditSearches index 0a55e0dff..e7de62bd0 100644 --- a/rt/share/html/Search/Elements/EditSearches +++ b/rt/share/html/Search/Elements/EditSearches @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -67,9 +67,9 @@ % } % } -% if ( $Object && $Object->Id ) { +% if ( $Object && $Object->Id && $Object->CurrentUserHasRight('update') ) { -% } else { +% } elsif ( !$Object ) { %} % }