<?php

namespace App\Policies;

use Fivable\Buildable\Policies\BuildablePostPolicy as BaseBuildablePostPolicy;

class BuildablePostPolicy extends BaseBuildablePostPolicy
{

    /**
     * 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 buildable post.
//     *
//     * @param  User  $user
//     * @return bool
//     */
//    public function viewIndex(User $user) : bool
//    {
//        return true;
//    }
    
//    /**
//     * Determine whether the user can view the buildable post.
//     *
//     * @param  User  $user
//     * @param  BuildablePost  $buildablePost
//     * @return bool
//     */
//    public function view(User $user, BuildablePost $buildablePost) : bool
//    {
//        return true;
//    }

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

//    /**
//     * Determine whether the user can update the buildable post.
//     *
//     * @param  User  $user
//     * @param  BuildablePost  $buildablePost
//     * @return bool
//     */
//    public function update(User $user, BuildablePost $buildablePost) : bool
//    {
//        return true;
//    }

//    /**
//     * Determine whether the user can delete the buildable post.
//     *
//     * @param  User  $user
//     * @param  BuildablePost  $buildablePost
//     * @return bool
//     */
//    public function delete(User $user, BuildablePost $buildablePost) : bool
//    {
//        return true;
//    }
}
