David Harris

hi @andante. I think I worked it out. I added:

  1. Object::add_extension('LeftAndMain', 'ContentCMSMenuExtension');

and then in my ContentCMSMenuExtension class I can call the

  1. CMSMenu::remove_menu_item('ContentSettingsAdmin');

based on the user roles


you want to do a similar thing, but for your module’s admin sections


yeah - have a look at the providePermissions function in SecurityAdmin