Created Resume component model
Some checks failed
linter / quality (push) Successful in 3m16s
tests / ci (push) Failing after 6m21s

This commit is contained in:
2025-08-16 13:13:00 +02:00
parent e3444ef799
commit fb3a5be414
6 changed files with 237 additions and 0 deletions

View File

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