Files
CVAtron/app/Policies/ResumeComponentDataTypePolicy.php
Matthias Guillitte 8fdd3fc130
Some checks failed
linter / quality (push) Successful in 3m36s
tests / ci (push) Failing after 6m26s
Created Resume component data type
2025-08-16 14:27:52 +02:00

67 lines
1.5 KiB
PHP

<?php
namespace App\Policies;
use App\Models\ResumeComponentDataType;
use App\Models\User;
use Illuminate\Auth\Access\Response;
class ResumeComponentDataTypePolicy
{
/**
* 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, ResumeComponentDataType $resumeComponentDataType): 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, ResumeComponentDataType $resumeComponentDataType): bool
{
return false;
}
/**
* Determine whether the user can delete the model.
*/
public function delete(User $user, ResumeComponentDataType $resumeComponentDataType): bool
{
return false;
}
/**
* Determine whether the user can restore the model.
*/
public function restore(User $user, ResumeComponentDataType $resumeComponentDataType): bool
{
return false;
}
/**
* Determine whether the user can permanently delete the model.
*/
public function forceDelete(User $user, ResumeComponentDataType $resumeComponentDataType): bool
{
return false;
}
}