Merge branch 'dev' of https://git.verdnatura.es/salix into dev
This commit is contained in:
commit
ee1a8a3114
|
@ -6,8 +6,8 @@ VALUES
|
|||
(107, 'ItemNiche', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
||||
(108, 'ItemPlacement', '*', 'WRITE', 'ALLOW', 'ROLE', 'marketingBoss'),
|
||||
(109, 'UserConfig', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
||||
(110, 'Bank', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
||||
|
||||
(110, 'Bank', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||
(111, 'ClientLog', '*', 'READ', 'ALLOW', 'ROLE', 'employee');
|
||||
|
||||
UPDATE salix.ACL
|
||||
SET model='ItemTag', property='*', accessType='WRITE', permission='ALLOW', principalType='ROLE', principalId='marketingBoss'
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
USE `vn`;
|
||||
CREATE
|
||||
OR REPLACE ALGORITHM = UNDEFINED
|
||||
DEFINER = `root`@`%`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn`.`defaulter` AS
|
||||
SELECT
|
||||
`d`.`client` AS `clientFk`,
|
||||
`d`.`date` AS `created`,
|
||||
`d`.`amount` AS `amount`,
|
||||
`d`.`defaulterSince` AS `defaulterSinced`,
|
||||
`d`.`hasChanged` AS `hasChanged`
|
||||
FROM
|
||||
`bi`.`defaulters` `d`;
|
Loading…
Reference in New Issue