diff --git a/db/changes/10390-constitution/00-acl.sql b/db/changes/10390-constitution/00-acl.sql new file mode 100644 index 000000000..ed2b629fd --- /dev/null +++ b/db/changes/10390-constitution/00-acl.sql @@ -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'; \ No newline at end of file diff --git a/e2e/paths/12-entry/06_observations.spec.js b/e2e/paths/12-entry/06_observations.spec.js index c686d999a..dcad44fb0 100644 --- a/e2e/paths/12-entry/06_observations.spec.js +++ b/e2e/paths/12-entry/06_observations.spec.js @@ -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'); }); diff --git a/e2e/paths/14-account/01_create_and_basic_data.spec.js b/e2e/paths/14-account/01_create_and_basic_data.spec.js index 5a07119e7..d6c185b06 100644 --- a/e2e/paths/14-account/01_create_and_basic_data.spec.js +++ b/e2e/paths/14-account/01_create_and_basic_data.spec.js @@ -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;