I'm trying to understand how Moodle handles permissions for admin menus. I have a user who can access Site Administration and sees the Plugins menu. Within that menu, they can see items like Authentication, but the Admin Tools menu is not visible to them. But this is just an example, there are others like the user can see General menu within Site Administration but cannot see notifcations sub-menu.
Is this expected behavior? Could this be due to specific capability assignments? I'd appreciate any insights or explanations on how these permission checks work for admin menu items in Moodle.
How is this possible? I thought that I cannot control capabilities this deep, this user cannot Development within site administration, but there is no such capability that can control this visibility, is there? I can only give full administration to a user or not, is there some custom code in it?
Thank you!