First Commit

This commit is contained in:
marco
2026-09-01 07:49:48 -03:00
commit 28b1044038
399 changed files with 41659 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Policies;
use App\Models\User;
use App\Models\UserInterest;
use Illuminate\Auth\Access\HandlesAuthorization;
/**
* Policy for UserInterest model.
*/
class UserInterestPolicy
{
/**
* Determine whether the user can delete the model.
*/
public function delete(User $user, UserInterest $userInterest): bool
{
return $user->id === $userInterest->user_id;
}
}