Laravel - Authorization - Methods Without Models

Some policy methods only receive an instance of the currently authenticated user. This situation is most common when authorizing create actions. For example, if you are creating a blog, you may wish to determine if a user is authorized to create any posts at all. In these situations, your policy method should only expect to receive a user instance:

     * Determine if the given user can create posts.
     * @param  \App\Models\User  $user
     * @return bool
    public function create(User $user)
        return $user->role == 'writer';