Update 005_registro_exams.sql
This commit is contained in:
@@ -116,9 +116,9 @@ UPDATE system_modules
|
|||||||
INSERT IGNORE INTO role_modules (role_id, module_slug, can_view, can_create, can_edit, can_delete, can_export)
|
INSERT IGNORE INTO role_modules (role_id, module_slug, can_view, can_create, can_edit, can_delete, can_export)
|
||||||
SELECT r.id, 'registro_exams', 1, 1, 1, 0, 1
|
SELECT r.id, 'registro_exams', 1, 1, 1, 0, 1
|
||||||
FROM roles r
|
FROM roles r
|
||||||
WHERE r.nombre IN ('Bacteriólogo','Bacteriologo','bacteriologo','Técnico Lab','Lab');
|
WHERE r.slug = 'bacteriologo';
|
||||||
|
|
||||||
INSERT IGNORE INTO role_modules (role_id, module_slug, can_view, can_create, can_edit, can_delete, can_export)
|
INSERT IGNORE INTO role_modules (role_id, module_slug, can_view, can_create, can_edit, can_delete, can_export)
|
||||||
SELECT r.id, 'registro_exams', 1, 1, 0, 0, 0
|
SELECT r.id, 'registro_exams', 1, 1, 0, 0, 0
|
||||||
FROM roles r
|
FROM roles r
|
||||||
WHERE r.nombre IN ('Recepcionista','recepcionista','Recepción');
|
WHERE r.slug = 'recepcionista';
|
||||||
|
|||||||
Reference in New Issue
Block a user