# 3.2.5.1

this is a bug fix version for 3.2.5

* middlewares added
* any\_user,admin\_only removed
* routes adjusted

## Files Changed

**New**

* app/Http/Middleware/SentinelAdmin.php
* app/Http/Middleware/SentinelUser.php

**Modified**

* app/Http/routes.php
* resources/views/admin/layouts/default.blade.php
* app/Http/Controllers/UsersController.php

**Deleted**

* resources/views/admin/groups/admin\_only.blade.php
* resources/views/admin/groups/any\_user.blade.php

## Installation

you need to register your middlewares, to do so

open `app/Http/Kernel.php` and in `$routeMiddleware` array

add the following

```
'SentinelUser' => \App\Http\Middleware\SentinelUser::class,
'SentinelAdmin' => \App\Http\Middleware\SentinelAdmin::class,
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lorvent.gitbook.io/josh/30/3251.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
