audit log

This commit is contained in:
Koch
2022-09-01 15:49:32 +02:00
parent 2f5eff8d96
commit a8d3ac2796
4 changed files with 32 additions and 3315 deletions

View File

@@ -26,6 +26,13 @@ annotate bookshop.CustomerPostalAddress with @PersonalData : {
country @PersonalData.IsPotentiallyPersonal;
}
annotate bookshop.Orders with @PersonalData.EntitySemantics : 'Other'
{
ID @PersonalData.FieldSemantics : 'ContractRelatedID';
Customer @PersonalData.FieldSemantics : 'DataSubjectID';
personalComment @PersonalData.IsPotentiallyPersonal;
}
// annotations for Audit Log
annotate bookshop.Customers with @AuditLog.Operation : {
Read : true,
@@ -34,9 +41,18 @@ annotate bookshop.Customers with @AuditLog.Operation : {
Delete : true
};
// annotations for Audit Log
annotate bookshop.CustomerPostalAddress with @AuditLog.Operation : {
Read : true,
Insert : true,
Update : true,
Delete : true
};
// annotations for Audit Log
annotate bookshop.Orders with @AuditLog.Operation : {
Read : true,
Insert : true,
Update : true,
Delete : true
};