refs #5468 fix: test e2e
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-05-23 13:33:27 +02:00
parent 0702e4ef43
commit 91207c5a3c
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
DELETE FROM `salix`.`ACL` WHERE model = 'Role';
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
('Role', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'hr'),
('Role', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketing');

View File

@ -104,7 +104,7 @@ export default {
},
accountMailForwarding: {
mailForwardingCheckbox: 'vn-user-mail-forwarding vn-check[ng-model="watcher.hasData"]',
email: 'vn-user-mail-forwarding vn-textfield[ng-model="data.forwardTo"]',
email: 'vn-user-mail-forwarding vn-textfield[ng-model="$ctrl.data.forwardTo"]',
save: 'vn-user-mail-forwarding vn-submit'
},
accountAcl: {