Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 2603-travel_create_autocomplete_date
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Padawan 2021-02-12 17:04:10 +01:00
commit 366f241b3f
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,3 @@
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('Entry', '*', '*', 'ALLOW', 'ROLE', 'administrative');

View File

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