-- Co-Lite change 4b: Leads menu module and the Edit leads / Export leads action modules (area BO). -- Edit and Export are url-less M modules: grantable on the Roles screen (only type M is), hidden from the sidebar -- (a url-less M with no children renders nothing). They sit under the root so a role with only Event leads can be given export. -- Target: `service-system`.`module`. Additive only. Run once. USE `service-system`; INSERT INTO `module` (`id`, `name`, `desc`, `area`, `type`, `parent`, `url`, `icon_name`) VALUES (40400000, 'BO_LEADS', 'Leads', 'BO', 'M', 40000000, '/leads', 'Users'), (40500000, 'BO_LEADS_EDIT', 'Edit leads', 'BO', 'M', 40000000, NULL, NULL), (40600000, 'BO_LEADS_EXPORT', 'Export leads', 'BO', 'M', 40000000, NULL, NULL);