<?php #CodeGenerator V3 Δ 5cd1c72735640e18ac99aee4fbef1117 Δ DYNAMICALLY GENERATED FILE - Do not modify this line! Remove it completely to protect the file from changes.
/**
 * Policy Class
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @version     STUB: 1.0.0
 * @generated   2026-05-10 13:16:40
 * @package     bplan-base/globals
 * @subpackage  Policies
 * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025, 2026 bplan-solutions GmbH & Co. KG <https://www.bplan-solutions.de/>
 * /Δ\
 */

namespace BplanBase\Globals\Policies;


use BplanBase\Globals\Models\Location;
use BplanBase\Globals\Models\User;
use Illuminate\Auth\Access\Response;


/**
 * Policy Class
 *
 * @version     1.0.0 / 2026-05-10
 * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 */
class LocationPolicy
{


/* +++ TRAITS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS CONSTANTS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT MEMBERS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS MEMBERS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT METHODS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


    /**
     * Determine whether the user can create models.
     *
     * @param       User $AuthUser
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function create(User $AuthUser): bool
    {
        return true;

    } // create()


    /**
     * Determine whether the user can delete the model.
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function delete(User $AuthUser, Location $Model): bool
    {
        return true;

    } // delete()


    /**
     * Determine whether the user can permanently delete the model.
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function forceDelete(User $AuthUser, Location $Model): bool
    {
        return true;

    } // forceDelete()


    /**
     * Determine whether the user can restore the model.
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function restore(User $AuthUser, Location $Model): bool
    {
        return true;

    } // restore()


    /**
     * Determine whether the user can update the model.
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function update(User $AuthUser, Location $Model): bool
    {
        return true;

    } // update()


    /**
     * Determine whether the user can view the model.
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function view(User $AuthUser, Location $Model): bool
    {
        return true;

    } // view()


    /**
     * Determine whether the user can view any models.
     *
     * @param       User $AuthUser
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewAny(User $AuthUser): bool
    {
        return true;

    } // viewAny()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewLocationType(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewLocationType()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewMaster(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewMaster()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewPhysicalPrinters(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewPhysicalPrinters()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewPrinters(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewPrinters()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewSubLocations(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewSubLocations()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewTenant(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewTenant()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       Location $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-10
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewTerminalConnections(User $AuthUser, Location $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewTerminalConnections()


/* +++ CLASS METHODS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


} // class LocationPolicy {}
