From 121040ec2fb797fe010e7d25f594bcb408756800 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Thu, 24 Apr 2014 18:12:05 +0000
Subject: [PATCH] Show more dropdown for users with edit permission

Users with edit permission should be able to change ticket owner in line.
---
 include/staff/ticket-view.inc.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index 9568dbf65..d28cab8c7 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -46,7 +46,9 @@ if($ticket->isOverdue())
         </td>
         <td width="50%" class="right_align has_bottom_border">
             <?php
-            if($thisstaff->canBanEmails() || ($dept && $dept->isManager($thisstaff))) { ?>
+            if ($thisstaff->canBanEmails()
+                    || $thisstaff->canEditTickets()
+                    || ($dept && $dept->isManager($thisstaff))) { ?>
             <span class="action-button" data-dropdown="#action-dropdown-more">
                 <span ><i class="icon-cog"></i> More</span>
                 <i class="icon-caret-down"></i>
-- 
GitLab