That is not the right thinking.
When thinking about your code, you need to think about capabilites. What does thing menu let someone do, then in your plugin define a capbility: myplugin:managethingy
Then, it is a configuration matter which roles have that capability - but you can set defaults for that which are used when your plugin is installed.
When thinking about your code, you need to think about capabilites. What does thing menu let someone do, then in your plugin define a capbility: myplugin:managethingy
Then, it is a configuration matter which roles have that capability - but you can set defaults for that which are used when your plugin is installed.