@baris it is located in plugins module index.js however my whole intention is to restrict the plugins that are being loaded for admin and simple-admin(i create a group role called simple-admin), as an example for admins i wanna load all the plugins in the dropdown menu in plugins ACP but for simple admins only one or two plugins, that's why i wanna get the current user uid first and then check if it is an admin, load all the plugins, but if it was a simple admin filter them based on my requirements.
do you recommend any other approach or this is fine and i need to make some modifications?