add acl
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fc2e81826d
commit
c03fe359b1
|
@ -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';
|
|
@ -8,7 +8,7 @@ describe('Entry observations path', () => {
|
||||||
beforeAll(async() => {
|
beforeAll(async() => {
|
||||||
browser = await getBrowser();
|
browser = await getBrowser();
|
||||||
page = browser.page;
|
page = browser.page;
|
||||||
await page.loginAndModule('developer', 'entry');
|
await page.loginAndModule('buyer', 'entry');
|
||||||
await page.accessToSearchResult('2');
|
await page.accessToSearchResult('2');
|
||||||
await page.accessToSection('entry.card.observation');
|
await page.accessToSection('entry.card.observation');
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import selectors from '../../helpers/selectors.js';
|
import selectors from '../../helpers/selectors.js';
|
||||||
import getBrowser from '../../helpers/puppeteer';
|
import getBrowser from '../../helpers/puppeteer';
|
||||||
|
|
||||||
describe('Account create and basic data path', () => {
|
fdescribe('Account create and basic data path', () => {
|
||||||
let browser;
|
let browser;
|
||||||
let page;
|
let page;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue