feat: refs #7943 quitar lectura en metodos comunes #3136

Merged
jgallego merged 2 commits from 7943-permisosWorker into dev 2024-10-23 05:53:04 +00:00
Owner
No description provided.
jgallego added 1 commit 2024-10-21 11:30:18 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
2b05e8c48e
feat: refs #7943 quitar lectura en metodos comunes
jgallego reviewed 2024-10-21 11:33:16 +00:00
@ -5,2 +5,4 @@
BEGIN
SET NEW.editorFk = account.myUser_getId();
IF NEW.`property` = '*' THEN
CALL util.throw('The property field cannot be *');
Author
Owner

fins que llevem els * i pugam posar açò en un CHECK.
De moment així evitem que no vaja a mes.

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');
Author
Owner

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

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
Member

Son quan crides a Workers, Workers/:id

Aci (baix de tot) estan les equivalencies https://loopback.io/doc/en/lb2/Controlling-data-access.html

Son quan crides a Workers, Workers/:id Aci (baix de tot) estan les equivalencies https://loopback.io/doc/en/lb2/Controlling-data-access.html
Member

Per exemple si no es pot fer find, este desplegable fallara:
13a6f1f8c1/modules/item/front/item-type/basic-data/index.html (L27)

Per exemple si no es pot fer find, este desplegable fallara: https://gitea.verdnatura.es/verdnatura/salix/src/commit/13a6f1f8c1e17b6bba6f5f8bed3172a229f01fda/modules/item/front/item-type/basic-data/index.html#L27
jgallego requested review from alexm 2024-10-21 11:33:30 +00:00
jgallego added 1 commit 2024-10-23 05:44:49 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
62f9f31279
feat: refs #7943 usa back con permisos
jgallego removed review request for alexm 2024-10-23 05:48:35 +00:00
jgallego requested review from alexm 2024-10-23 05:48:41 +00:00
alexm approved these changes 2024-10-23 05:51:34 +00:00
jgallego merged commit 2f5f4ecc7c into dev 2024-10-23 05:53:04 +00:00
jgallego deleted branch 7943-permisosWorker 2024-10-23 05:53:04 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#3136
No description provided.