fix: refs #7244 Added collection ACL #3198

Merged
guillermo merged 4 commits from 7244-collectionAcl into dev 2024-11-15 06:01:49 +00:00
Member
No description provided.
guillermo added 1 commit 2024-11-13 11:53:29 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
72e067ff81
fix: refs #7244 Added collection ACL
guillermo requested review from jgallego 2024-11-13 11:53:50 +00:00
guillermo reviewed 2024-11-13 12:00:50 +00:00
@ -0,0 +1,2 @@
INSERT INTO salix.ACL (model,property,accessType,principalId)
VALUES ('Collection','*','WRITE','productionBoss');
Author
Member

He tenido que utilizar *, ya que estoy llamando a un método nativo de loopback

He tenido que utilizar *, ya que estoy llamando a un método nativo de loopback
Owner

A dia de hui estem posant-los explicits perque hi ha una tarea de no permetre els *
el natiu crida a un d'estos posals tots.

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'create', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'upsert', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'replaceById', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'updateAll', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'updateAttributes', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'deleteById', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'destroyAll', 'WRITE', 'productionBoss');

INSERT INTO salix.ACL (model, property, accessType, principalId)
VALUES ('Collection', 'destroyById', 'WRITE', 'productionBoss');
A dia de hui estem posant-los explicits perque hi ha una tarea de no permetre els * el natiu crida a un d'estos posals tots. ``` INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'create', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'upsert', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'replaceById', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'updateAll', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'updateAttributes', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'deleteById', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'destroyAll', 'WRITE', 'productionBoss'); INSERT INTO salix.ACL (model, property, accessType, principalId) VALUES ('Collection', 'destroyById', 'WRITE', 'productionBoss'); ```
guillermo marked this conversation as resolved
jgallego requested changes 2024-11-14 07:16:24 +00:00
Dismissed
jgallego left a comment
Owner

si no pose algo ací no deixa solicitar canvis

si no pose algo ací no deixa solicitar canvis
guillermo added 1 commit 2024-11-14 08:42:57 +00:00
gitea/salix/pipeline/pr-dev Build queued... Details
5f50d84213
feat: refs #7244 Requested changes
guillermo added 1 commit 2024-11-14 08:43:02 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
8449a6c6d3
feat: refs #7244 Requested changes
guillermo requested review from jgallego 2024-11-14 08:43:19 +00:00
guillermo added 1 commit 2024-11-14 08:43:27 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
2f7de633bd
Merge branch 'dev' into 7244-collectionAcl
jgallego approved these changes 2024-11-14 15:28:04 +00:00
guillermo merged commit 0fbef4c88a into dev 2024-11-15 06:01:49 +00:00
guillermo deleted branch 7244-collectionAcl 2024-11-15 06:01:49 +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#3198
No description provided.