Just like the 'alias' option, when auto-generating a menu MenuBuilderComponent should check for an 'exclude' option and exclude any actions found in that array from being added to the menu.
It should work like Mark Story's AclMenuComponent:
var $menuOptions = array(
'exclude' => array('secretStuff');
);
//Or
var $menuOptions = array(
'exclude' => array('*');
);
Just like the 'alias' option, when auto-generating a menu MenuBuilderComponent should check for an 'exclude' option and exclude any actions found in that array from being added to the menu.
It should work like Mark Story's AclMenuComponent: