search = (items) =>
      items
        .filter((item) => role <= +item.min_role)
        .forEach((item) => {
          if (item.type === "Action" && item.action_name === name)
            menu_item = item;
          else if (item.subitems) search(item.subitems);
        })
@name post
@function
@memberof module:routes/menu~menuRouter
@function