<?php

namespace App\Policies\buildable;

use Fivable\Buildable\Policies\BuildableComponentPolicy as BaseBuildableComponentPolicy;

class BuildableComponentPolicy extends BaseBuildableComponentPolicy
{

    /**
     * This Policy has been published for you by Buildable to allow you to easily override
     * any policy functions you need to in your application. Because this overrides
     * Buildable's own corresponding Policy, you will be able to update your
     * version of the Buildable package and maintain your custom Policy
     * methods, without risking the loss additions or changes from
     * the base class. Of course, if you've overridden anything
     * you will not effectively get the changes when updating
     */

//    /**
//     * Determine whether the User can view the BuildableComponent
//     * @param  User  $user
//     * @param  BuildableComponent  $buildableComponent
//     * @return bool
//     */
//    public function view(User $user, BuildableComponent $buildableComponent) : bool
//    {
//        return true;
//    }

//    /**
//     * Determine whether the User can create a BuildableComponent
//     * @param  User  $user
//     * @return bool
//     */
//    public function create(User $user) : bool
//    {
//        return true;
//    }

//    /**
//     * Determine whether the User can update the BuildableComponent
//     * @param  User  $user
//     * @param  BuildableComponent  $buildableComponent
//     * @return bool
//     */
//    public function update(User $user, BuildableComponent $buildableComponent) : bool
//    {
//        return true;
//    }

//    /**
//     * Determine whether the user can delete a specific BuildableComponent
//     * @param  User  $user
//     * @param  BuildableComponent  $buildableComponent
//     * @return bool
//     */
//    public function delete(User $user, BuildableComponent $buildableComponent) : bool
//    {
//        return true;
//    }
}
