Files
Discount-Bandit/app/Policies/GroupPriceHistoryPolicy.php
Cybrarist 556f6bb9d7 - finish group feature
- add group tests
- preparing for group history

Took 6 hours 16 minutes
2025-02-07 22:29:32 +04:00

67 lines
1.4 KiB
PHP

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