/** * Returns the sections that are allowed * for the authenticated admin. * * @return Agency\Cms\Authority\ResourcesCollection */ protected function getAccessibleSections() { $access = Authority::access(Auth::user(), $this->sections->all()); return $access->resources; }