audit log
This commit is contained in:
13
gdpr/srv/log-service.cds
Normal file
13
gdpr/srv/log-service.cds
Normal file
@@ -0,0 +1,13 @@
|
||||
using {sap.capire.bookshop as db} from '../db/data-privacy';
|
||||
using {sap.capire.auditLog as log} from '../db/AuditLogStore.cds';
|
||||
|
||||
//@requires: 'PersonalDataManagerUser' // security check
|
||||
service LogService {
|
||||
|
||||
entity Customers as projection on db.Customers;
|
||||
entity CustomerPostalAddress as projection on db.CustomerPostalAddress;
|
||||
entity Orders as projection on db.Orders;
|
||||
|
||||
entity AuditLogStore as projection on log.AuditLogStore;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user