private function query() { if ($this->user()->can('add_areas')) { return Post::query(); } return Post::where('user_id', $this->user()->id); }