Roman_applicant-site/app/Policies/ReceptionScreenPolicy.php

67 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2024-01-19 10:48:00 +03:00
<?php
namespace App\Policies;
2024-01-23 11:20:15 +03:00
use App\Models\ReceptionScreen;
2024-01-19 10:48:00 +03:00
use App\Models\User;
use Illuminate\Auth\Access\Response;
2024-01-23 11:20:15 +03:00
class ReceptionScreenPolicy
2024-01-19 10:48:00 +03:00
{
/**
* Determine whether the user can view any models.
*/
public function viewAny(User $user): bool
{
//
}
/**
* Determine whether the user can view the model.
*/
2024-01-23 11:20:15 +03:00
public function view(User $user, ReceptionScreen $doceumentsOnline): bool
2024-01-19 10:48:00 +03:00
{
//
}
/**
* Determine whether the user can create models.
*/
public function create(User $user): bool
{
//
}
/**
* Determine whether the user can update the model.
*/
2024-01-23 11:20:15 +03:00
public function update(User $user, ReceptionScreen $doceumentsOnline): bool
2024-01-19 10:48:00 +03:00
{
//
}
/**
* Determine whether the user can delete the model.
*/
2024-01-23 11:20:15 +03:00
public function delete(User $user, ReceptionScreen $doceumentsOnline): bool
2024-01-19 10:48:00 +03:00
{
//
}
/**
* Determine whether the user can restore the model.
*/
2024-01-23 11:20:15 +03:00
public function restore(User $user, ReceptionScreen $doceumentsOnline): bool
2024-01-19 10:48:00 +03:00
{
//
}
/**
* Determine whether the user can permanently delete the model.
*/
2024-01-23 11:20:15 +03:00
public function forceDelete(User $user, ReceptionScreen $doceumentsOnline): bool
2024-01-19 10:48:00 +03:00
{
//
}
}