<?php

namespace App\Policies;

use App\Models\Site;
use App\Models\User;

class SitePolicy
{
    public function viewAny(User $user): bool
    {
        return $user->canAccessOperations();
    }

    public function view(User $user, Site $site): bool
    {
        return $user->canAccessOperations();
    }

    public function create(User $user): bool
    {
        return $user->canAccessOperations();
    }

    public function update(User $user, Site $site): bool
    {
        return $user->canAccessOperations();
    }

    public function delete(User $user, Site $site): bool
    {
        return $user->canAccessOperations();
    }
}
