Why does my Laravel policy always return false?

前端 未结 0 480
面向向阳花
面向向阳花 2021-02-12 02:51

The code for the policy is here:

class userOwnedClassPolicy
{
    use HandlesAuthorization;
    ...
    public function create(User $user)
    {
        return ($         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题