Added permisions from models in table salix ACL

This commit is contained in:
jorgebl 2021-03-08 12:32:35 +01:00
parent 5c183997d3
commit 32ea2dbda6
3 changed files with 4 additions and 12 deletions

View File

@ -0,0 +1,4 @@
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('Genus', '*', 'WRITE', 'ALLOW', 'ROLE', 'logisticBoss'),
('Specie', '*', 'WRITE', 'ALLOW', 'ROLE', 'logisticBoss');

View File

@ -22,12 +22,6 @@
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
},
{
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "logisticBoss",
"permission": "ALLOW"
}
]
}

View File

@ -22,12 +22,6 @@
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
},
{
"accessType": "WRITE",
"principalType": "ROLE",
"principalId": "logisticBoss",
"permission": "ALLOW"
}
]
}