Added permissions to role administrative #543

Merged
carlosjr merged 5 commits from 2782-Add_permisions_administrative_entry_module into dev 2021-02-12 16:01:44 +00:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 2cf37a9e96 - Show all commits

View File

@ -0,0 +1 @@
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('Entry', '*', '*', 'ALLOW', 'ROLE', 'administrative');
carlosjr marked this conversation as resolved Outdated

move this code to the correct folder for this sprint

move this code to the correct folder for this sprint

View File

@ -31,19 +31,19 @@
"state": "entry.index",
"component": "vn-entry-index",
"description": "Entries",
"acl": ["buyer"]
"acl": ["buyer", "administrative"]
}, {
"url": "/latest-buys?q",
"state": "entry.latestBuys",
"component": "vn-entry-latest-buys",
"description": "Latest buys",
"acl": ["buyer"]
"acl": ["buyer", "administrative"]
}, {
"url": "/create?supplierFk&travelFk&companyFk",
"state": "entry.create",
"component": "vn-entry-create",
"description": "New entry",
"acl": ["buyer"]
"acl": ["buyer", "administrative"]
}, {
"url": "/:id",
"state": "entry.card",