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

This commit is contained in:
Joan Sanchez 2021-11-24 15:01:47 +01:00
commit 469f944e47
3 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,11 @@
INSERT INTO `salix`.`ACL`
(model, property, accessType, permission, principalType, principalId)
VALUES('EntryObservation', '*', '*', 'ALLOW', 'ROLE', 'buyer');
UPDATE `salix`.`ACL`
SET accessType='*', principalId='it'
WHERE model = 'Role';
UPDATE `salix`.`ACL`
SET accessType='*', principalId='it'
WHERE model = 'MailForward';

View File

@ -8,7 +8,7 @@ describe('Entry observations path', () => {
beforeAll(async() => {
browser = await getBrowser();
page = browser.page;
await page.loginAndModule('developer', 'entry');
await page.loginAndModule('buyer', 'entry');
await page.accessToSearchResult('2');
await page.accessToSection('entry.card.observation');
});

View File

@ -1,7 +1,7 @@
import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer';
describe('Account create and basic data path', () => {
fdescribe('Account create and basic data path', () => {
let browser;
let page;