Security Restrict - Problem with permissions

Good afternoon, I am developing an application in node.js, as I need to limit access to some page content, I configured Security Restrict, I tried to use the id as a filter to identify the administrator, I tried to use a field in the database to level user, if I don’t put any permission for a page in security restrict, it normally opens the pages after logging in, but if I add the permission even though the user who is logging in has the necessary permission to access the page, it only redirects to the page registered on Forbidden Url.

I followed the steps in this video,

and also the documentation but still without success, would anyone know how to guide me on how to solve it.