refs #6553 changes models #2522
|
@ -3,23 +3,25 @@ ADD CONSTRAINT `business_companyCodeFk` FOREIGN KEY (`companyCodeFk`) REFERENCES
|
||||||
|
|
||||||
-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
|
-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values.
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
carlossa marked this conversation as resolved
|
|||||||
VALUES ('BusinessReasonEnd','*','*','ALLOW','ROLE','employee');
|
VALUES ('BusinessReasonEnd','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('CalendarType','*','*','ALLOW','ROLE','employee');
|
VALUES ('CalendarType','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('OccupationCode','*','*','ALLOW','ROLE','employee');
|
VALUES ('OccupationCode','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('BusinessReasonEnd','*','*','ALLOW','ROLE','employee');
|
VALUES ('BusinessReasonEnd','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('WorkerBusinessProfessionalCategory','*','*','ALLOW','ROLE','employee');
|
VALUES ('WorkerBusinessProfessionalCategory','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('WorkerBusinessAgreement','*','*','ALLOW','ROLE','employee');
|
VALUES ('WorkerBusinessAgreement','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('WorkerBusinessType','*','*','ALLOW','ROLE','employee');
|
VALUES ('WorkerBusinessType','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('PayrollCategory','*','*','ALLOW','ROLE','employee');
|
VALUES ('PayrollCategory','*','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('Worker','__get__business','*','ALLOW','ROLE','employee');
|
VALUES ('Worker','__get__business','*','ALLOW','ROLE','hr');
|
||||||
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
VALUES ('Worker','__create__business','*','ALLOW','ROLE','employee');
|
VALUES ('Worker','__create__business','*','ALLOW','ROLE','hr');
|
||||||
|
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
|
||||||
|
VALUES ('Business','crud','*','ALLOW','ROLE','hr');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Per a la proxima, pots ficar:
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES
(...),
(...),
(...),
(...),
(...);