Created Resume component data type
Some checks failed
linter / quality (push) Successful in 3m36s
tests / ci (push) Failing after 6m26s

This commit is contained in:
2025-08-16 14:27:52 +02:00
parent 2505afda66
commit 8fdd3fc130
6 changed files with 236 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
<?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;
}
}