public function store(CreatePermissionRequest $request)
    {
        $input = $request->all();

        $permission = $this->permissionRepository->create([
            'name' => $input['name'],
        ]);

        foreach ($input['roles'] as $role) {
            $permission->roles()->attach($role);
        }

        Flash::success(trans('l5starter::messages.create.success'));

        return redirect(route('admin.permissions.index'));
    }