# Why put a Priority

the priority system treats the lowest priority first and ends with the highest so that when I retrieve the permissions of my player for example and I want to check the access permissions to my server, I first want the role session to be created to check if the player has the role or the permission so I have to set LOWEST for the first one and put above LOWEST the data verification.

<figure><img src="https://4042465434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUYICjARqnTqxsVxsRip%2Fuploads%2FdnDunWigk0tCeRIyl4Rj%2Fimage.png?alt=media&#x26;token=655112db-a9d2-47fa-af54-96aa7104d21c" alt=""><figcaption><p>WITHOUT Middleware</p></figcaption></figure>

<figure><img src="https://4042465434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZUYICjARqnTqxsVxsRip%2Fuploads%2Ff6nrMwKTxJw9n92gippA%2Fimage.png?alt=media&#x26;token=337648e8-21ea-4b9a-ac03-ff7b9559aca6" alt=""><figcaption><p>WITH Middleware</p></figcaption></figure>
