5660-changeRolDeliveryAssistant #1607
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1607
Loading…
Reference in New Issue
No description provided.
Delete Branch "5660-changeRolDeliveryAssistant"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -10,2 +10,3 @@
page = browser.page;
await page.loginAndModule('deliveryBoss', 'zone'); // turns up the zone module name and route aint the same lol
// eslint-disable-next-line max-len
await page.loginAndModule('deliveryAssist', 'zone'); // turns up the zone module name and route aint the same lol
votau de linea per a que no traga el comentari
@ -69,3 +69,3 @@
vn-tooltip="New postcode"
ng-click="postcode.open()"
vn-acl="deliveryBoss"
vn-acl="deliveryAssist"
perque no has gastat deliveryAssistant?
Per el tema de caracters, he vist que en la taula role hi ha rols que tenen més silabes i fiquen Assist o Assi, com per exemple productionAssi o coolerAssist, en canvi els que tenen menos caracters si que fiquen Asssistant com salesAssistants
els que veus en Assist es abans de aumentar del caracters, ferem un refactor i ja es pot, posali deliveryAssistant que a mes la resta anirem canviant-los.
@ -0,0 +1,21 @@
-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
No habria asigut mes facil canviarli en nom a deliveryBoss a deliveryAssistant i soles cal crear uno nou (deliveryBoss) i fer que herede de deliveryAssitant?
New commits pushed, approval review dismissed automatically according to repository settings
@ -0,0 +1,21 @@
-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
INSERT INTO `account`.`role` (name,description)
VALUES ('deliveryAssistant','Asistencia de envios');
el resto de roles que tienen assistant son:
Jefe auxiliar de ventas
Jefe auxiliar administrativo
Este deuria ser:
Jefe auxiliar repartos
@ -0,0 +5,4 @@
INSERT INTO `account`.`roleInherit` (role,inheritsFrom)
SELECT (SELECT id FROM account.role r WHERE r.name = 'deliveryAssistant'), ri.inheritsFrom
FROM account.roleInherit ri
JOIN account.role r ON r.id = ri.`role`
converteix açò en un join que quedara mes clar.
Mira avore si de la manera que hi ha ara bé?
@ -0,0 +13,4 @@
(SELECT id FROM account.role WHERE name = 'deliveryAssistant') roleInherit;
CALL account.role_syncPrivileges();
confirma en alexm pero si crides role_sync no cal insertar en roleinherit
Comentat en Alex, m´ha dit que no cal
No se afegien a roleRole, torne a la versió anterior
que ho mire @alexm tb
@ -0,0 +13,4 @@
(SELECT id FROM account.role WHERE name = 'deliveryAssistant') roleInherit;
CALL account.role_syncPrivileges();
possa comilles que igual falla quan es puje a produccio
New commits pushed, approval review dismissed automatically according to repository settings