I have an array of permissions
const permissions = [\'search\', \'reports\', \'whitelist\'];
and I have a menus
const menus =