add ploicies for statistiko

This commit is contained in:
salam committed 2026-07-12 09:32:31 +02:00
1 parent 7e000dce88
commit 20829cdc17
8 files changed
+473 -2

No files matched your search

+66
View File
@@ -0,0 +1,66 @@
<?php
namespace App\Policies;
use App\Models\StatistikoPlayer;
use App\Models\User;
use Illuminate\Auth\Access\Response;
class StatistikoPlayerPolicy
{
/**
* 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, StatistikoPlayer $statistikoPlayer): 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, StatistikoPlayer $statistikoPlayer): bool
{
return false;
}
/**
* Determine whether the user can delete the model.
*/
public function delete(User $user, StatistikoPlayer $statistikoPlayer): bool
{
return false;
}
/**
* Determine whether the user can restore the model.
*/
public function restore(User $user, StatistikoPlayer $statistikoPlayer): bool
{
return false;
}
/**
* Determine whether the user can permanently delete the model.
*/
public function forceDelete(User $user, StatistikoPlayer $statistikoPlayer): bool
{
return false;
}
}