/** * Show the application dashboard to the user. * * @return Response */ public function getPermissions() { if (!$this->user->canAdminRoles() || !$this->user->canAdminPermissions()) { return abort(403); } $roles = Role::whereNull('board_uri')->get(); return $this->view(static::VIEW_ROLES, ['roles' => $roles]); }