'billets' table + pages

This commit is contained in:
Clément
2025-04-15 16:29:47 +02:00
parent 9c129fc03d
commit ea0884d39f
12 changed files with 355 additions and 3 deletions

View File

@@ -0,0 +1,66 @@
<?php
namespace App\Policies;
use App\Models\Billet;
use App\Models\User;
use Illuminate\Auth\Access\Response;
class BilletPolicy
{
/**
* Determine whether the user can view any models.
*/
public function viewAny(User $user): bool
{
return false;
}
/**
* Determine whether the user can view the model.
*/
public function view(User $user, Billet $billet): bool
{
return false;
}
/**
* Determine whether the user can create models.
*/
public function create(User $user): bool
{
return false;
}
/**
* Determine whether the user can update the model.
*/
public function update(User $user, Billet $billet): bool
{
return false;
}
/**
* Determine whether the user can delete the model.
*/
public function delete(User $user, Billet $billet): bool
{
return false;
}
/**
* Determine whether the user can restore the model.
*/
public function restore(User $user, Billet $billet): bool
{
return false;
}
/**
* Determine whether the user can permanently delete the model.
*/
public function forceDelete(User $user, Billet $billet): bool
{
return false;
}
}