GO TO : packages/Webkul/Admin/src/Http/Controllers/Lead/LeadController.php
In view function
Remove this :
if (
$userIds = bouncer()->getAuthorizedUserIds()
&& ! in_array($lead->user_id, $userIds)
) {
return redirect()->route('admin.leads.index');
}
with:
$userIds = bouncer()->getAuthorizedUserIds();
if ($userIds && ! in_array($lead->user_id, $userIds)) {
return redirect()->route('admin.leads.index');
}