Add all files

This commit is contained in:
root
2025-11-30 11:57:22 +01:00
parent 2ee51cac4f
commit 044271db3d
1476 changed files with 142544 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Policies;
use App\Models\TicketMessage;
use App\Models\User;
class TicketMessagePolicy
{
/**
* Determine whether the user can delete the model.
*/
public function delete(User $user, TicketMessage $ticket): bool
{
return $user->hasPermission('admin.ticket_messages.delete');
}
}