Setup permissions in custom plugin

I made a plugin that is located in the left menu.

How can I restrict access to it? I need all users with the roles !== super admin to not have access to it.

The ideas were to do something in the server part of the plugin that would prevent you from switching to the route if the role is !== super admin, or to check the condition !== super admin on the frontend side.

But I don’t quite understand which tool should I use and where