Change SQL in the OpenSpec change folder, mirrored into local/seed. Local seed keeps only roles 1-3; dev admin no longer needs a first-login change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
10 lines
594 B
SQL
10 lines
594 B
SQL
-- Co-Lite change 2: back-office modules read by the admin portal (area BO).
|
|
-- Target: `service-system`.`module`. Additive only. Run once.
|
|
-- ROLE_SUPER_ADMIN (id 1) passes every module check and needs no modules_roles rows.
|
|
USE `service-system`;
|
|
|
|
INSERT INTO `module` (`id`, `name`, `desc`, `area`, `type`, `parent`, `url`, `icon_name`) VALUES
|
|
(40000000, 'BO_ROOT', 'Back Office', 'BO', 'R', 0, NULL, NULL),
|
|
(40700000, 'BO_USERS', 'Users', 'BO', 'M', 40000000, '/users', 'UserCog'),
|
|
(40800000, 'BO_ROLES', 'Roles', 'BO', 'M', 40000000, '/roles', 'ShieldCheck');
|