feat: refs #7943 quitar lectura en metodos comunes #3136
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#3136
Loading…
Reference in New Issue
No description provided.
Delete Branch "7943-permisosWorker"
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?
@ -5,2 +5,4 @@
BEGIN
SET NEW.editorFk = account.myUser_getId();
IF NEW.`property` = '*' THEN
CALL util.throw('The property field cannot be *');
fins que llevem els * i pugam posar açò en un CHECK.
De moment així evitem que no vaja a mes.
@ -0,0 +1,3 @@
DELETE FROM `salix`.`ACL`
WHERE `model` = 'Worker'
AND `property` IN ('find', 'findById', 'findOne');
jo he preguntat a Sergio i ja ho ha llevat, i en lilium i en salix no es gasten ni en access, no se si cal mirar en altre lloc
Son quan crides a Workers, Workers/:id
Aci (baix de tot) estan les equivalencies https://loopback.io/doc/en/lb2/Controlling-data-access.html
Per exemple si no es pot fer find, este desplegable fallara:
13a6f1f8c1/modules/item/front/item-type/basic-data/index.html (L27)